Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff authored May 24, 2024
1 parent 4422e0a commit d006552
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ import {FastImageSequence} from '@mediamonks/fast-image-sequence';

const options = {
frames: 100,

src: {
src: {
imageURL: (index) => `path/to/your/image/sequence/image${index}.jpg`,
},

loop: true,
objectFit: 'cover',
};
Expand All @@ -58,11 +58,11 @@ returns a string representing the URL of the image at an index in the tar file.
```ts
const options = {
frames: 100,

src: {
src: {
tarURL: 'path/to/your/tar/file.tar',
imageURL: (index) => `image${index}.jpg`,
},

loop: true,
objectFit: 'cover',
};
Expand Down

0 comments on commit d006552

Please sign in to comment.