I do not think it is an IM bug, but a bug in your installs.
I strongly disagree with this. In what way did I make a mistake in my installation of ImageMagick on Ubuntu through the official repositories? In what way did I make a mistake when I installed ImageMacik on macOS through Homebrew, on two ...
Search found 7 matches
- 2016-09-28T02:12:44-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
- 2016-09-27T10:23:32-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
Re: -set filename:f %t doesn't work with Webp
I agree with fmw42, something is wrong with my install of ImageMagick on macOS, and with my install of ImageMagick on Ubuntu, and therefore there is a bug with ImageMagick not correctly interpreting the `-set filename:f %t` options even though it does correctly convert image files to WebP.
On macOS ...
On macOS ...
- 2016-09-27T09:33:44-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
Re: -set filename:f %t doesn't work with Webp
I've double-checked, but I'll check again that it is indeed converting to WebP. Even if it isn't converting to WebP, this is still a bug because ImageMagick should understand the `-set filename:f %t` options.
On Ubuntu, here is the result of this command that examines the first few bytes of the ...
On Ubuntu, here is the result of this command that examines the first few bytes of the ...
- 2016-09-26T02:01:04-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
Re: -set filename:f %t doesn't work with Webp
I disagree that imagemagick is failing to convert the image to WebP in my case, @fmw42. It clearly is working, the file generated is a WebP image that works everywhere that I expect WebP images to work, and the `file` command on Ubuntu clearly identifies it as WebP:
$ file example.webp
example ...
$ file example.webp
example ...
- 2016-09-23T02:55:31-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
Re: -set filename:f %t doesn't work with Webp
THanks for your suggestion snibgo. This is the output on my macOS machine as well as on my Ubuntu machine:
$ convert -list format 2>&1 | grep -i webp
$
It doesn't list WebP for some reason.
However, conversion to WebP does work!
$ convert example.png example.webp
$ ls *.webp
example.webp ...
$ convert -list format 2>&1 | grep -i webp
$
It doesn't list WebP for some reason.
However, conversion to WebP does work!
$ convert example.png example.webp
$ ls *.webp
example.webp ...
- 2016-09-22T05:56:13-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
Re: -set filename:f %t doesn't work with Webp
Putting double-quotes around "%t" makes no difference, I tried. It doesn't surprise me that it makes no difference, as the percent character is not interpreted by the bash shell, and therefore doing %t or "%t" is identical and the process being run cannot distinguish between the two cases.
- 2016-09-21T09:12:32-07:00
- Forum: Bugs
- Topic: -set filename:f %t doesn't work with Webp
- Replies: 15
- Views: 12503
-set filename:f %t doesn't work with Webp
To convert an image from one format to another, changing the extension, you can do this:
$ convert example.png -set filename:f %t '%[filename:f].jpg'
$ ls
example.jpg example.png
However, if I try the same technique when converting into a webp image, this is the result:
$ convert example.png ...
$ convert example.png -set filename:f %t '%[filename:f].jpg'
$ ls
example.jpg example.png
However, if I try the same technique when converting into a webp image, this is the result:
$ convert example.png ...