Search found 31 matches

by jstph
2018-08-01T14:23:16-07:00
Forum: Developers
Topic: Loading PNG Image Problem
Replies: 0
Views: 15505

Loading PNG Image Problem

Magick, I have a PNG Image, which may have some issue. I have been able to load it with IM before. But I have problem in IM7. The ImageMagick loaded it with a error message "Read error at scanline 4294967295; got 4529 bytes, expected 4560. `TIFFFillStrip' @ error/tiff.c/TIFFErrors/572", and ...
by jstph
2014-02-18T10:13:03-07:00
Forum: Developers
Topic: Linking VS2010 with ImageMagick
Replies: 1
Views: 5371

Re: Linking VS2010 with ImageMagick

it looks like this is the reference problem. You probably called "delete blob" in your ~Texture(), if I remember correctly, ImageMigick doesn't export destructor of Blob object. You may need to call DestroyBlob(Blob*) to release the object.
by jstph
2014-02-18T10:09:12-07:00
Forum: Developers
Topic: j2c extension support
Replies: 7
Views: 16425

Re: j2c extension support

thank you. look forward to update to the new version.
by jstph
2014-02-07T11:25:16-07:00
Forum: Developers
Topic: possible memory leak in cairo?
Replies: 0
Views: 4594

possible memory leak in cairo?

Magick, I am no familiar with Cairo, my vld tool report there is memory leak in imagemagick-6.8.8\cairo\src\cairo-image-surface.c (181): _cairo_image_surface_create_for_pixman_image. I checked that chunk source code. cairo_surface_t * _cairo_image_surface_create_for_pixman_image (pixman_image_t ...
by jstph
2014-02-07T09:51:48-07:00
Forum: Developers
Topic: j2c extension support
Replies: 7
Views: 16425

Re: j2c extension support

I use IM directly to process. I did step by step debug yesterday, and pretty sure it called j2k decoder from openjpeg. Originally I have problem with J2K file. After hours debug, I finally found out that my j2k file actually is the jp2, which has box header. IM only check file extension or ImageInfo ...
by jstph
2014-02-07T09:22:43-07:00
Forum: Developers
Topic: j2c extension support
Replies: 7
Views: 16425

Re: j2c extension support

Same as Jason. I have no problem to process that file with IM 6.8.8, and SOC mark is there.
by jstph
2014-02-06T14:51:57-07:00
Forum: Developers
Topic: j2c extension support
Replies: 7
Views: 16425

j2c extension support

Magick, Is it possible to add the j2c extension into IM? It basically is j2k. right now, I checked the j2c extension myself, then set ImageInfo->magick to be "J2K". It worked, but if you can add it in IM that will be great. Example file can be found at: https://github.com/bitsgalore/jp2kMagic/blob ...
by jstph
2014-02-05T15:29:47-07:00
Forum: Developers
Topic: strange memory leak report
Replies: 1
Views: 5255

Re: strange memory leak report

I did a little bit research on this issue. It looks like Glib will release its memory block at the exit time, which probably after the vld memory check and _crt call. If that is the case, those memory allocated by Glib would be considered as leak. I read into Glib source code, it seems like Valgrind ...
by jstph
2014-02-05T12:01:21-07:00
Forum: Developers
Topic: strange memory leak report
Replies: 1
Views: 5255

strange memory leak report

Magick, I experienced a strange memory leak report. I create an empty main method. #include "stdafx.h" #include "magick/MagickCore.h" #include <tchar.h> #include "vld.h" int _tmain(int argc, _TCHAR* argv[]) { return 0; } stdafx.h is empty. vld.h is memory leak detector. when run in the debug mode ...
by jstph
2013-12-23T13:08:08-07:00
Forum: Developers
Topic: Report memory leak when process svg without delegate
Replies: 2
Views: 5843

Re: Report memory leak when process svg without delegate

that is great, thank you. I am looking forward for the new release.
by jstph
2013-12-23T13:05:16-07:00
Forum: Developers
Topic: Report a problem when processing large jp2 image.
Replies: 2
Views: 5516

Re: Report a problem when processing large jp2 image.

I am using ImageMagick-windows which is 6.8.4, it has commented out the tmpnam and replaced with that strange _snprintf().
by jstph
2013-12-23T12:42:15-07:00
Forum: Developers
Topic: Report a memory leak when process JP2 image.
Replies: 2
Views: 7571

Re: Report a memory leak when process JP2 image.

it is holiday, don't work this hard :) Merry Christmas and happy new year. love your work!
by jstph
2013-12-23T12:39:26-07:00
Forum: Developers
Topic: Report memory leak when process svg without delegate
Replies: 2
Views: 5843

Report memory leak when process svg without delegate

Magic, Merry Christmas. again, apologize for multiple topic. Testing file. http://upload.wikimedia.org/wikipedia/commons/6/6b/Bitmap_VS_SVG.svg I run under the windows and can't install any svg delegate. From my understand, ImageMagick will convert the svg to MVG, and draw the image out. I maybe ...
by jstph
2013-12-23T12:24:33-07:00
Forum: Developers
Topic: Report a problem when processing large jp2 image.
Replies: 2
Views: 5516

Report a problem when processing large jp2 image.

Magik, Sorry for the multiple topics. I thought it will be easier for you to read. here is the testing file http://www.microimages.com/gallery/jp2/CB_TM_QQ432.jp2 I found a problem in Core_jp2 package. When process large jp2 image, jasper library will use disk file to store the color components ...
by jstph
2013-12-23T12:12:54-07:00
Forum: Developers
Topic: Report a memory leak when process JP2 image.
Replies: 2
Views: 7571

Report a memory leak when process JP2 image.

Magic, I found a small memory leak which is in the jp2.c under the CORE_coders package static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception) { …. //here defined a icc color profile icc_profile=(jas_iccprof_t *) NULL; //then made a copy of color profile which never get rid o ...