Page 1 of 1

How can I resize extensionless images?

Posted: 2015-09-18T11:09:35-07:00
by gcurtis
I'm trying to use mogrify to resize all of my files inside of a directory, preserving the names of each

Doing

Code: Select all

mogrify -resize 300 * gives me

Code: Select all

mogrify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/501.
None of my files have extensions, and some of them have weird extensions like .5839204 so maybe that's the problem? Everything thing I've googled includes *.jpg or *.png when defining the input or output. My files don't have those extensions, and I don't want them to.

Also, my files are a mix of types. Some of them are .webp, and some are .png, if that matters.

I've also noticed some .DS_Store files that keep appearing, but I can delete those before running the command and nothing changes

ImageMagick v6.9.1-10 Q16 x86_64 2015-07-26
osx

Re: How can I resize extensionless images?

Posted: 2015-09-18T11:56:23-07:00
by gcurtis
Nevermind. Looks like neither mogrify and convert can't handle .webp images, so that's my problem.

Is there anything I can do to resize my webp images, or should I just look for a different program?

Re: How can I resize extensionless images?

Posted: 2015-09-18T13:54:13-07:00
by fmw42
On page http://www.imagemagick.org/script/formats.php, it says

"WEBP RW Weppy image format Requires the WEBP delegate library. Specify the encoding options with the -define option See WebP Encoding Options for more details."

Do you have the WEBP delegate library installed?