lrq3000 / hqx

hqx is a fast, high-quality magnification filter designed for pixel art. Mirror of code.google.com/p/hqx
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Can't load / save <file.*> #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install hqx 1.1 via Homebrew on Mac OS X.
2. Issue a `hqx -s 4 <infile.*> <outfile.*>` command (see transcript below).

What is the expected output? What do you see instead?

~$ hqx -s 4 /Users/thatsme/Pictures/Pixel/bit-pirate.png 
/Users/thatsme/Pictures/Pixel/bit-pirate-4x.png
ERROR: can't load '/Users/thatsme/Pictures/Pixel/bit-pirate.png'
~$ sudo !!
sudo hqx -s 4 /Users/thatsme/Pictures/Pixel/bit-pirate.png 
/Users/thatsme/Pictures/Pixel/bit-pirate-4x.png
ERROR: can't load '/Users/thatsme/Pictures/Pixel/bit-pirate.png'
~$ hqx -s 4 /Users/thatsme/Pictures/Pixel/bit-pirate.gif 
/Users/thatsme/Pictures/Pixel/bit-pirate-4x.gif
ERROR: can't save '/Users/thatsme/Pictures/Pixel/bit-pirate-4x.gif'
~$ sudo !!
sudo hqx -s 4 /Users/thatsme/Pictures/Pixel/bit-pirate.gif 
/Users/thatsme/Pictures/Pixel/bit-pirate-4x.gif
ERROR: can't save '/Users/thatsme/Pictures/Pixel/bit-pirate-4x.gif'

What version of the product are you using? On what operating system?

hqx 1.1 installed sucessfully via Homebrew package manager (including devil 
library 1.7.8).

Mac OS X 10.7.3, 2,66 GHz Intel Core 2 Duo, 4 GB 1067 Mhz DDR3 RAM.

Please provide any additional information below.

To the extent possible (i.e. if there's something I've done wrong on my end) it 
would be nice if StdErr was a little more verbose/helpful to me. :)

Original issue reported on code.google.com by hen...@cederbladdesign.com on 22 Mar 2012 at 12:49

GoogleCodeExporter commented 9 years ago
The odd thing is that there's different output ("load/save") on png vs gif.

Original comment by hen...@cederbladdesign.com on 22 Mar 2012 at 12:51

GoogleCodeExporter commented 9 years ago
It seems to be some issue related to file format. I have the same problem here 
with png and gif, but everything goes fine with tga files. Probably the problem 
is on devil library for Mac.

Original comment by mauricio...@gmail.com on 7 Sep 2012 at 4:50

GoogleCodeExporter commented 9 years ago
Confirming that the issue won't happen when you use the TGA format. PNG and 
JPEG are not working at all.

Original comment by rafael.w...@gmail.com on 11 Sep 2012 at 4:32