Search found 19 matches

by mootools
2011-10-18T00:20:36-07:00
Forum: Bugs
Topic: Ghostscript on Windows x64
Replies: 1
Views: 5818

Ghostscript on Windows x64

Hello, I am currently trying using Ghostscript under Windows x32 and x64 bits platform. I use x32 and x64 bits version of ImageMagick for my application. I found a bug in the nt-base.c for retrieving the ghostscript setup path. in file nt-base.c NTLocateGhostscript function the following code should...
by mootools
2009-06-26T01:18:06-07:00
Forum: Bugs
Topic: Serious issue using zlib
Replies: 1
Views: 5061

Serious issue using zlib

Hello, I find a serious issue in the way of using zlib. Look at blob.c / line 2373 #if defined(MAGICKCORE_ZLIB_DELEGATE) if (((strlen(filename) > 2) && (LocaleCompare(filename+strlen(filename)-2,".Z") == 0)) || ((strlen(filename) > 3) && (LocaleCompare(filename+strlen(filen...
by mootools
2008-12-14T14:38:48-07:00
Forum: Bugs
Topic: FormatMagickTime not safe
Replies: 2
Views: 7018

Re: FormatMagickTime not safe

Thanks. I made a correction on the above code. The correct code is: tmptime=localtime(&time); ... tmptime=gmtime(&time); ... and not (the first version I post, which was wrong) tmptime=(*localtime)(&time); ... tmptime=(*gmtime)(&time); ... Sorry for the mistake. Manuel
by mootools
2008-12-14T14:14:40-07:00
Forum: Bugs
Topic: FormatMagickTime not safe
Replies: 2
Views: 7018

FormatMagickTime not safe

Hello, The FormatMagickTime (string.c) function is not safe and some crashes might occurs on it, particularly if the provided time is not correct. It occurs on some of my files. Here is the current code: local_time=(*localtime(&time)); // Not secure because localtime can return NULL if time is i...
by mootools
2008-11-21T14:13:39-07:00
Forum: Bugs
Topic: Magick++ exception bug?
Replies: 1
Views: 4750

Magick++ exception bug?

Hello, h_b_diff.png can be downloaded here I think that there is a problem with Magick++ warning exceptions. Ie. the following code crash on my png image which generate a warning. Magick::Image image; try { // Read a file into image object image.read( "h_b_diff.png" ); } catch( Warning&...
by mootools
2008-09-11T01:17:49-07:00
Forum: Bugs
Topic: Divided by zero exception in ProgressMonitor
Replies: 1
Views: 5130

Divided by zero exception in ProgressMonitor

Hello, I use ImageMagick 6.4.2-6 and I wometime get a divided by zero exception due to the monitor handler. It occurs in the QuantumTick inline method (monitor.h) when span = 100. I correct the code below: static inline MagickBooleanType QuantumTick(const MagickOffsetType offset, const MagickSizeTyp...
by mootools
2008-07-07T06:04:42-07:00
Forum: Bugs
Topic: Exif allocation bug
Replies: 2
Views: 7869

Re: Exif allocation bug

I am using version 6.3.8-10 and with this version image->properties is NULL when entering in GetEXIFProperty, which makes the method crashes.
by mootools
2008-06-30T14:45:25-07:00
Forum: Bugs
Topic: Exif allocation bug
Replies: 2
Views: 7869

Exif allocation bug

Hello, EXIF Parsers crashes when reading particular files with properties = NULL You can download a sample of such file at: http://www.mootools.com/tmp/crash.png I add the following code (in bold) in GetEXIFProperty /* If EXIF data exists, then try to parse the request for a tag. */ profile=GetImage...
by mootools
2008-02-19T02:15:44-07:00
Forum: Bugs
Topic: WMF memory leaks
Replies: 1
Views: 5728

WMF memory leaks

Hello, WMF parser is full of memory leaks. I suspect that some memory allocated in lite_font_map is not correctly released. I don't really know how to correct the bug, as I don't know anything about the WMF lib. The following document generates helps to reproduce the problem and get memory leaks. ht...
by mootools
2008-01-15T04:00:43-07:00
Forum: Bugs
Topic: Bad exif codes
Replies: 1
Views: 6094

Bad exif codes

Hello, There are errors in the Exif table (property.c) { 0x9216, "exif:TIFF/EPStandardID" }, { 0xa302, "exif:CFAPattern" }, ... { 0xa216, "exif:TIFF/EPStandardID" }, { 0x828e, "exif:CFAPattern" }, should be { 0x9216, "exif:TIFF/EPStandardID" }, { 0xa...
by mootools
2008-01-14T06:58:02-07:00
Forum: Bugs
Topic: Property exif table size can be reduced!
Replies: 1
Views: 5855

Property exif table size can be reduced!

Hello, The exif TagInfo table in property.c contains duplicated elements: { 0x828d, "exif:CFARepeatPatternDim" }, { 0x828e, "exif:CFAPattern" }, { 0x828f, "exif:BatteryLevel" }, { 0x828d, "exif:CFARepeatPatternDim" }, { 0x828e, "exif:CFAPattern" }, {...
by mootools
2008-01-11T03:52:24-07:00
Forum: Bugs
Topic: Bugs in the WMF coders
Replies: 1
Views: 6482

Bugs in the WMF coders

Hello, There is a bug in the WMF parser. Look at line 2749 in function static Image *ReadWMFImage(const ImageInfo * image_info, ExceptionInfo * exception) /* Cleanup allocated data */ wmf_api_destroy(API); CloseBlob(image); /* Check for and report any rendering error */ if (image->exception.severity...
by mootools
2007-10-26T01:09:50-07:00
Forum: Bugs
Topic: Unit bug in constitute / ReadImage
Replies: 1
Views: 5915

Unit bug in constitute

Hello, I just download the latest image magick package and I found an annoying bug in constitute.c / ReadImage The function incorrectly set the image units as shown above. The concerned lines are: value=GetImageProperty(next,"TIFF:ResolutionUnit"); if (value == (char *) NULL) value=GetImag...
by mootools
2007-06-08T13:06:31-07:00
Forum: Bugs
Topic: Memory leak in PNG coder
Replies: 1
Views: 8977

Memory leak in PNG coder

Hello, I found a memory leak in png.c file, function png_read_raw_profile: the memory allocated at line: info=(unsigned char *) AcquireMagickMemory(length); is not always released. we should release the memory somewhere below: /* We have already read "Raw profile type, */ profile=AcquireStringI...
by mootools
2006-05-15T04:20:50-07:00
Forum: MagickStudio
Topic: TGA file incorrectly handled
Replies: 1
Views: 21994

TGA file incorrectly handled

Hello,

The following TGA file is incorrectly handled by ImageMagick:

http://www.mootools.com/tmp/essai.tga

I also try on to load it using http://redux.imagemagick.org/MagickStud ... Studio.cgi and it fails.

Let me know if any correction is planned for TGA format.

Thanks,
Manuel