Search found 40 matches

by tc33
2013-02-25T11:41:10-07:00
Forum: Developers
Topic: IM Core Enhancements
Replies: 8
Views: 10525

IM Core Enhancements

Hi, Here are a few proposed tweaks to IM core based on my own internal modifications: - CORE_png / pngvalid.c: interferes with the running of Boost test since it defines an int main(). Recommend removing 'pngvalid.c' from the default build. OpenCV has already removed the file from their build. Refer...
by tc33
2013-02-22T18:08:43-07:00
Forum: Developers
Topic: WEBP: Coder enhancements/memory leak fix
Replies: 6
Views: 11555

Re: WEBP: Coder enhancements/memory leak fix

Thank you! One more submission for you; this reads the extended file format to determine lossy or lossless based on the chunk data. Could probably use another set of eyes to ensure this won't crash on edge cases // from libwebp, webp.c static inline uint32_t get_le24(const unsigned char* const data)...
by tc33
2013-02-19T15:05:52-07:00
Forum: Developers
Topic: WEBP: Coder enhancements/memory leak fix
Replies: 6
Views: 11555

Re: WEBP: Coder enhancements/memory leak fix

Hi, thanks for getting this integrated! I was reviewing the latest changes to webp prior to downloading/compiling, and I noticed an issue that might need attention: http://trac.imagemagick.org/browser/ImageMagick/branches/ImageMagick-6/coders/webp.c Line 176: if ((stream[15] == 'L') || (stream[15] =...
by tc33
2013-02-17T19:29:14-07:00
Forum: Developers
Topic: WEBP: Coder enhancements/memory leak fix
Replies: 6
Views: 11555

WEBP: Coder enhancements/memory leak fix

I just started working with WEBP and noticed that the coder can't do WEBP lossless, and it also has a memory leak. I made some significant changes to core_coders/webp.c which allow IM users to define codec-specific optimizations and, most notably, lossless encoding. Below is my code for your conside...
by tc33
2013-02-14T10:56:33-07:00
Forum: Bugs
Topic: [FIXED] BUG: Alpha and WEBP
Replies: 2
Views: 6038

Re: BUG: Alpha and WEBP

Thank you!
by tc33
2013-02-13T15:52:59-07:00
Forum: Bugs
Topic: [FIXED] BUG: Alpha and WEBP
Replies: 2
Views: 6038

[FIXED] BUG: Alpha and WEBP

Reference post: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=20836 Download the Webp library and use the cwebp and dwebp tools to convert your PNG to the Webp format. With these tools we're getting a black alpha channel. If you can get them to produce transparent Webp, let us ...
by tc33
2013-02-04T12:36:23-07:00
Forum: Magick++
Topic: Write Animated GIFs to Blob
Replies: 5
Views: 32592

Re: Write Animated GIFs to Blob

Awesome, thank you!
by tc33
2013-02-04T00:10:50-07:00
Forum: Magick++
Topic: Write Animated GIFs to Blob
Replies: 5
Views: 32592

Write Animated GIFs to Blob

Hi, Magick++ doesn't seem to write multi-image Images to a single blob. Regardless if the image has multiple sub-images, it always calls ImageToBlob, when it appears it should be calling ImagesToBlob instead, if needed. I'm guessing this applies to multi-page TIFFs, PDFs, and others as well? Anyhoo,...
by tc33
2013-01-31T16:17:49-07:00
Forum: Bugs
Topic: [FIXED] PNG: read/write degrades/corrupts image
Replies: 11
Views: 15636

Re: PNG: read/write degrades/corrupts image

Fixed/confirmed in IM 6.8.2.2. Thank you!
by tc33
2013-01-30T16:44:44-07:00
Forum: Bugs
Topic: [FIXED] PNG: read/write degrades/corrupts image
Replies: 11
Views: 15636

Re: PNG: read/write degrades/corrupts image

Thanks for your response regarding the transparent pixel issue. Is the grayscale image issue still open then?
by tc33
2013-01-30T14:22:09-07:00
Forum: Bugs
Topic: [FIXED] PNG: read/write degrades/corrupts image
Replies: 11
Views: 15636

Re: PNG: read/write degrades/corrupts image

Glenn, I was looking through the changelog for IM 6.8.2.x. I noted that you have made changes related to PNG en/decoding that may have addressed these issues, but I can't be certain. Were both of these issues addressed? The first issue being the grayscale image, the second being the transparent pixe...
by tc33
2013-01-26T18:15:30-07:00
Forum: Bugs
Topic: [FIXED] PNG: read/write degrades/corrupts image
Replies: 11
Views: 15636

Re: PNG: read/write degrades/corrupts image

As a follow up, I stumbled on a workaround while doing some grayscale image processing. Basically, I manually set the colorspace to RGB and then call IsGrayImage in attribute.c, which contains auto-detect logic based on image pixel data. Also, I noticed that any transparent, non-gray pixels will cau...
by tc33
2012-11-14T23:15:26-07:00
Forum: Bugs
Topic: reading ImageInfo or encoders that use it
Replies: 3
Views: 5492

Re: reading ImageInfo or encoders that use it

Glenn, thanks for the response. I'm doing image manipulation through code; I just provided a simple command line to illustrate the problem. Moreover, I wouldn't necessarily know if the input JPEG was progressive or not, so I couldn't just hard-code in a static value. I've already come up with a work...
by tc33
2012-11-14T19:32:24-07:00
Forum: Bugs
Topic: reading ImageInfo or encoders that use it
Replies: 3
Views: 5492

Re: reading ImageInfo or encoders that use it

Bigger-picture issues aside, I'd recommend the following changes to solve the interlace problem: image.c, line 1281: from: image_info->interlace=NoInterlace; to: image_info->interlace=UndefinedInterlace; jpeg.c, line 2172: from: if ((LocaleCompare(image_info->magick,"PJPEG") == 0) || (imag...
by tc33
2012-11-14T18:48:48-07:00
Forum: Bugs
Topic: reading ImageInfo or encoders that use it
Replies: 3
Views: 5492

reading ImageInfo or encoders that use it

Version: 6.8.0.2 At first, there was an issue that caught my eye. I am using magick++, but am able to recreate an example of the issue with this command: convert.exe progressive.jpg nonprogressive.jpg This turns a progressive JPEG into a non-progressive JPEG. Verified before and after with identify....