Latest GM 1.2 changes

Bob Friesenhahn <[email protected]> Sat, 21 May 2005 15:05:54 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.tools,gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
The latest changes in GM 1.2 CVS and 1.2.020050521 snapshot may be of 
interest to some.  In particular, while I noticed that -profile was 
not working, I was annoyed to find that the reason it was not working 
is that ICM color profiles specified via -profile were being stored 
internally as IPTC profiles due to a typo on my part.  Duh?!!!

There is also a fix for Windows in that reading the contents of a 
directory can cause heap memory corruption.  Luckily, directories are 
not read very often under Windows, which explains why the bug has 
survived for at least six years.

 	* coders/meta.c (ReadMETAImage): Fixed reading ICM color profile
 	files.  Due to a typo ICM color profiles were being stored as IPTC
 	profiles.  This restores proper operation of the -profile option.

 	* magick/image.c (DescribeImage): If the image is DirectClass,
 	then don't compute the number of unique colors unless verbose is
 	greater than one.  This change is made since computing the number
 	of unique colors may take hours for some images.  The handling of
 	the -verbose argument is changed so that it is cumulative.
 	Specifying -verbose multiple times increases the level of
 	verbosity.

 	* magick/nt_base.c (NTreaddir): Fix write beyond buffer length
 	reported in SourceForge issue #1182003.  Only impacts Windows.


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click