juvenal / comictagger

Automatically exported from code.google.com/p/comictagger
0 stars 0 forks source link

When failing to create a cover image in Qt, convert to PNG instead of TIFF #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of ComicTagger are you using?

Top of tree on 22 Jan 2015

On what operating system (Mac, Linux, Windows)? What version?

Mac

GUI or command line?

GUI

What steps will reproduce the problem?

In utils.py, there is a function getQImageFromData. This tries to load the 
image data from the archive to create a cover image. If it fails it uses PIL to 
convert the image to TIFF and retries.

I found that converting to TIFF resulted in failed images so I got no covers in 
many cases. If instead I changed the conversion to PNG, things work much better.

Original issue reported on code.google.com by g...@geekraver.com on 22 Jan 2015 at 3:24