Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vipthumbnail doesn't work with certain files #49

Closed
testn opened this issue Jan 15, 2013 · 2 comments
Closed

vipthumbnail doesn't work with certain files #49

testn opened this issue Jan 15, 2013 · 2 comments
Labels

Comments

@testn
Copy link

testn commented Jan 15, 2013

When I use vipthumbnails to generate thumbnails, it fails for certain files
http://imgur.com/a/WqAKy
http://commons.wikimedia.org/wiki/File:Waterfalls_in_Tomboy,_Colorado.jpg
http://upload.wikimedia.org/wikipedia/commons/9/97/Azoren_%2814%29.jpg

with the exception like:
VipsFormat: file "Waterfalls_in_Tomboy%2C_Colorado.jpg" not a known format

while some other JPEGs, give out the warning like
vips warning: VipsJpeg: unknown JFIF resolution unit
but it seems to work fine

@jcupitt
Copy link
Member

jcupitt commented Jan 15, 2013

I tried on this image:

http://upload.wikimedia.org/wikipedia/commons/f/fa/Waterfalls_in_Tomboy%2C_Colorado.jpg

$ md5sum Waterfalls_in_Tomboy,_Colorado.jpg 
537505fb22173c0caf2ae7d3c7e2a4b5  Waterfalls_in_Tomboy,_Colorado.jpg

and it seems to work here. I tried:

$ for i in {1..100}; do vipsthumbnail Waterfalls_in_Tomboy,_Colorado.jpg; done

with git master and with 7.30 and all seemed OK.

Could it be a filename problem? Should the %2C in your filename be a ',' character?

@testn
Copy link
Author

testn commented Jan 15, 2013

You're right. It looks like my script to pull images didn't work correctly with %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants