Search found 19 matches

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

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: 4066

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(filename)-3,".gz") == 0)) || ((...
by mootools
2008-12-14T14:38:48-07:00
Forum: Bugs
Topic: FormatMagickTime not safe
Replies: 2
Views: 5768

Re: FormatMagickTime not safe

Thanks.

I made a correction on the above code. The correct code is:

Code: Select all

  tmptime=localtime(&time);
  ...
  tmptime=gmtime(&time);
  ...
and not (the first version I post, which was wrong)

Code: Select all

  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: 5768

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 inval...
by mootools
2008-11-21T14:13:39-07:00
Forum: Bugs
Topic: Magick++ exception bug?
Replies: 1
Views: 3774

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& e) { } // Cr...
by mootools
2008-09-11T01:17:49-07:00
Forum: Bugs
Topic: Divided by zero exception in ProgressMonitor
Replies: 1
Views: 4163

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: 6601

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: 6601

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: 4777

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: 5061

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" }, { 0xa302, "exif:CFAPattern" }, ... { 0xa216, "exif:TIFF...
by mootools
2008-01-14T06:58:02-07:00
Forum: Bugs
Topic: Property exif table size can be reduced!
Replies: 1
Views: 4831

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" }, { 0x828f, "exif:BatteryLevel" }, { 0x8298, "exif:Co...
by mootools
2008-01-11T03:52:24-07:00
Forum: Bugs
Topic: Bugs in the WMF coders
Replies: 1
Views: 5357

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: 4917

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=GetImageProperty(...
by mootools
2007-06-08T13:06:31-07:00
Forum: Bugs
Topic: Memory leak in PNG coder
Replies: 1
Views: 7775

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=AcquireStringInfo(l...
by mootools
2006-05-15T04:20:50-07:00
Forum: MagickStudio
Topic: TGA file incorrectly handled
Replies: 1
Views: 18601

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