Search found 13 matches

by njdoyle
2015-04-06T14:12:31-07:00
Forum: Bugs
Topic: Transparency with JPEG 2000 is broken
Replies: 7
Views: 4428

Re: Transparency with JPEG 2000 is broken

I made the fix, here's the patch. It would be awesome if you could incorporate it. diff -Naur ImageMagick-6.9.1-1/coders/jp2.c ImageMagick-6.9.1-1.alpha/coders/jp2.c --- ImageMagick-6.9.1-1/coders/jp2.c 2015-04-02 14:59:24.000000000 -0400 +++ ImageMagick-6.9.1-1.alpha/coders/jp2.c 2015-04-06 17:04:2...
by njdoyle
2015-04-06T08:05:43-07:00
Forum: Bugs
Topic: Transparency with JPEG 2000 is broken
Replies: 7
Views: 4428

Re: Transparency with JPEG 2000 is broken

I just looked at the changed code and tried the latest ImageMagick. The change has fixed a separate bug for decoding JP2 images but my original bug when encoding JP2 is still present.
by njdoyle
2015-04-02T12:05:36-07:00
Forum: Bugs
Topic: Transparency with JPEG 2000 is broken
Replies: 7
Views: 4428

Re: Transparency with JPEG 2000 is broken

Thanks!
by njdoyle
2015-04-02T07:00:33-07:00
Forum: Bugs
Topic: Transparency with JPEG 2000 is broken
Replies: 7
Views: 4428

Re: Transparency with JPEG 2000 is broken

ImageMagick doesn't delegate JPEG 2000 encoding to another process, it uses the library directly. Here's some verbose output anyways in case it helps at all. $ convert -verbose dice.png dice.jp2 dice.png PNG 800x600 800x600+0+0 8-bit sRGB 221KB 0.000u 0:00.000 dice.png=>dice.jp2 PNG 800x600 800x600+...
by njdoyle
2015-04-01T19:09:53-07:00
Forum: Bugs
Topic: Transparency with JPEG 2000 is broken
Replies: 7
Views: 4428

Transparency with JPEG 2000 is broken

I am using ImageMagick 6.9.0-10 and am also using the latest OpenJPEG from their source control. While the most recent version of OpenJPEG (2.1.0) had issues with transparency, the latest from source control does not. I've tested using this image: http://upload.wikimedia.org/wikipedia/commons/4/47/P...
by njdoyle
2014-11-03T11:15:31-07:00
Forum: Bugs
Topic: JPEG 2000 encoder ignoring "-define jp2:rate=x,x,..."
Replies: 5
Views: 4385

Re: JPEG 2000 encoder ignoring "-define jp2:rate=x,x,..."

magick wrote:Set the rate to 115. As the rate gets larger, the higher the compression. Or use something like -quality 25, for example.
I have used a number of different values for rate, including 115 and higher. The option is entirely ignored and a lossless image is always output.
by njdoyle
2014-10-31T11:09:29-07:00
Forum: Bugs
Topic: JPEG 2000 encoder ignoring "-define jp2:rate=x,x,..."
Replies: 5
Views: 4385

JPEG 2000 encoder ignoring "-define jp2:rate=x,x,..."

I'm trying to encode images with JPEG 2000. I'm using "-define jp2:rate=x,x,..." to set quality levels. This options seems to be ignored by ImageMagick. I would expect these two commands to produce similar or identical results: $ opj_compress -r 50 -i example.png -o example.opj.jp2 $ convert example...
by njdoyle
2014-08-06T12:52:55-07:00
Forum: Kudos and Rants
Topic: Missing commit messages
Replies: 4
Views: 16021

Missing commit messages

Most of the time there aren't any commit messages in the SVN repo.

This sucks a lot. I can't follow what's going on without lots of effort.

It would be awesome if each commit at least had a message. That's not hard to do.
by njdoyle
2014-07-22T08:11:06-07:00
Forum: Kudos and Rants
Topic: Published download links must not break.
Replies: 4
Views: 14328

Re: Published download links must not break.

I'll elaborate on this pain. I have a script that automates an install of ImageMagick. This script fetches a particular known version of ImageMagick source, builds the source, installs it on the local machine. It is important that I point to a particular known version of ImageMagick in case I need t...
by njdoyle
2014-07-08T18:19:57-07:00
Forum: Bugs
Topic: WEBP images from STDIN fail when format specified [patch]
Replies: 2
Views: 3161

Re: Reading WEBP image from STDIN fails when format specifie

What seems to be happening is that, when reading directly from a file, we always get a FileStream image blob type. This makes sense. For the case where we don't explicitly specify the input format, the STDIN stream gets written to a temporary file and ends up as a FileStream image blob type by the t...
by njdoyle
2014-07-08T12:46:14-07:00
Forum: Bugs
Topic: WEBP images from STDIN fail when format specified [patch]
Replies: 2
Views: 3161

WEBP images from STDIN fail when format specified [patch]

I'm trying to read a WEBP image from the command line over STDIN. This works in most cases except when I specifically tell convert that the incoming data is WEBP format. $ convert Example.webp info:- Example.webp WEBP 2448x2512 2448x2512+0+0 8-bit sRGB 58KB 0.100u 0:00.099 $ convert WEBP:Example.web...
by njdoyle
2014-07-08T12:40:38-07:00
Forum: Bugs
Topic: JPEG XR delegate configuration is broken [with patch]
Replies: 1
Views: 2322

JPEG XR delegate configuration is broken [with patch]

The JPEG XR delegates seem to be misconfigure in a few ways. Firstly, variables in configure and configure.ac seem to have an accidental extra typo 'M'. 'JXRMEncodeDelegateDefault' should be 'JXREncodeDelegateDefault'. This makes it so JPEG XR delegates don't get added when ./configure is run. I've ...
by njdoyle
2014-07-08T12:21:02-07:00
Forum: Bugs
Topic: png:compression-filter=0 is broken [patch included]
Replies: 1
Views: 1840

png:compression-filter=0 is broken [patch included]

The following command ignores the valid convert option -define png:compression-filter=0 $ convert logo: -define png:compression-filter=0 PNG:- > /dev/null convert: ignoring invalid defined png:compression-filter =0 @ warning/png.c/WritePNGImage/12024. Seems there was a forgotten 'else' in png.c betw...