Replies: 1 comment 7 replies
-
It should just work -- libvips uses sniffers rather than extensions to select image loaders. For example, you can write:
That makes the first copy write to stdout in PNG format, and the second read from stdin and write to JPG. The second vips is able to identify the filetype without a filename. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I store files without their file extension. I do know their name and mime though. How can i tell vips that i want to
vips copy 123[filename=foo.jpg] 456[filename=foo.avif]
orvips copy 123[mime=image/jpeg] 456[mime=image/avif]
?Beta Was this translation helpful? Give feedback.
All reactions