PNGCrush does not terminate
                
                Brought to you by:
                
                    glennrp
                    
                
            
            
        
        
        
    On Windows/XP, pngcrush 1.5.8 never returns control to the DOS 
command line.  It performs its functions correctly (compressing 
the PNG files) and then just hangs.  This happens with all the 
combinations of parameters that I have tried (and I have not tried 
very many):
Given no parameters: outputs descriptive 
information and then hangs.
Given -d directory *.png: 
converts files correctly, then hangs.
I have to close the DOS 
window (causes warning messages about lost data, that I ignore) to 
get out of it.
Otherwise, this looks like a great program!!  I am 
planning to use this to store archival copies of photo scans with 
maximum lossless compression.
Logged In: YES
user_id=7859
Have you tried the "-exit" option?
Glenn
Logged In: NO
I tried the -exit parameter (pngcrush -exit) and it had no effect. Control
did not return to DOS command line.
BTW, I am confused about what the
difference is between DOS and DOS-MMX versions. I downloaded both and
both behave the same.
Also, the "-exit" option is not documented
either in the README or the built-in help.
Logged In: YES
user_id=7859
DOS-MMX is compiled for Pentium CPU with MMX technology
and runs significantly faster than the regular DOS version.
I've uploaded a -MSVC (MSVC++6.0) compiled version which
you can try. It'll appear in the pngcrush-executables
package shortly.
"-exit" doesn't seem to be useful enough to be documented.
It's just something to try when things don't work. It did
help on some platform but I don't remember which now.
Glenn
Logged In: NO
Thanks for the quick response. It's nice to see!
The MSVC version
fixes the problem with not returning control to the command
line.
HOWEVER, now it cannot process wildcards,
i.e.:
pngcrush -d newdirectory *.png
to convert all png files
and store in the new directory. It simply responds: "Could not find file:
*.png". Previous versions handled this OK.
I think there is some
simple switch that you have to tweak to get it to handle this correctly
(expand the command line) - I don't use MSVC unless forced to.
BTW, I am
running with a Pentium IV and probably would want the MMX optimizations -
or is that a special model of Pentium?