Search found 103 matches

by Jason S
2014-05-17T13:06:49-07:00
Forum: Bugs
Topic: Problem converting .mac files
Replies: 5
Views: 9264

Re: Problem converting .mac files

valgrind reports a number of "Conditional jump or move depends on uninitialised value" issues when I convert a .mac file. If that's related, there may well be some randomness to it. (But for me, it seems completely deterministic on three completely different platforms with three completely...
by Jason S
2014-05-17T12:28:19-07:00
Forum: Bugs
Topic: Problem converting .mac files
Replies: 5
Views: 9264

Problem converting .mac files

Using most any .mac (Macpaint) file, such as this one ... This does not work for me. I get an all-black image. convert cats.mac cats.tif But this works: convert cats.mac cats.png Some target formats work (PNG, BMP, MIFF), and others don't (TIFF, JPEG, PBM), with no obvious pattern. [Version: ImageMa...
by Jason S
2014-02-06T19:04:27-07:00
Forum: Developers
Topic: j2c extension support
Replies: 7
Views: 15132

Re: j2c extension support

Maybe you got a bad copy of the balloon.j2c file? It should start with 0xff 0x4f, which is an SOC marker.

.j2k, .j2c, and .jpc are all exactly the same format, and it is supported by OpenJPEG.
by Jason S
2013-11-16T15:14:11-07:00
Forum: Developers
Topic: IM and VS Express
Replies: 5
Views: 8008

Re: IM and VS Express

Don't compile configure.exe, just run it. It will generate a file named something like ImageMagick-x.x.x\VisualMagick\VisualDynamicMT.sln. Then open that file, and let Visual Studio upgrade it to VS2008 format. MFC is not required.
by Jason S
2013-11-08T13:46:07-07:00
Forum: Bugs
Topic: Tif to jpg conversion gives wrong colors..
Replies: 8
Views: 18092

Re: Tif to jpg conversion gives wrong colors..

Your embedded JPEG data claims to be (and is) YCCK-transformed CMYK, but as far as I know there is no standard way to use that color format in a TIFF file. I suspect that IM is not doing the YCCK-to-CMYK transformation. The TIFF container adds nothing to this particular file. If I strip it off, the ...
by Jason S
2013-08-16T11:09:35-07:00
Forum: Bugs
Topic: convert(1) command can't handle multibyte characters
Replies: 13
Views: 18257

Re: convert(1) command can't handle multibyte characters

Use the -font and -pointsize options to select a font that contains the characters you need. "convert -list font" will list the known fonts.
by Jason S
2013-07-17T09:44:54-07:00
Forum: Bugs
Topic: convert(1) command can't handle multibyte characters
Replies: 13
Views: 18257

Re: convert(1) command can't handle multibyte characters

does imagemagick support multi-byte character conversion? Testing ImageMagick 6.8.6-5 on Linux... $ echo -e 'X\xe2\x98\xbaX' > label.txt $ convert label:@label.txt test.png My result: X☺X (I do not get any warnings about FreeType.) So, it interpreted the label file as UTF-8, and the non-Latin chara...
by Jason S
2013-07-10T14:52:02-07:00
Forum: Bugs
Topic: problem converting DCIM image
Replies: 4
Views: 5242

Re: problem converting DCIM image

IM will use the JPEG decoder for this file, not the JPEG2000 decoder, so Jasper won't help. You need an IJG-libjpeg-compatible library that supports lossless JPEG. An outline of what this might involve: Apply this patch: ljpeg-6b.tar.gz to version 6b of libjpeg: jpegsrc.v6b.tar.gz and use that as th...
by Jason S
2013-07-02T16:17:17-07:00
Forum: Bugs
Topic: CIP format: White pixels turn black
Replies: 1
Views: 4176

CIP format: White pixels turn black

Using IM 6.8.6-3 to write CIP (Cisco IP Phone Image) format: $ convert -size 4x2 'xc:#000000' 00.cip $ convert -size 4x2 'xc:#fefefe' fe.cip $ convert -size 4x2 'xc:#ffffff' ff.cip $ grep Data 00.cip <Data>0000</Data> $ grep Data fe.cip <Data>ffff</Data> $ grep Data ff.cip <Data>0000</Data> Almost-w...
by Jason S
2013-05-08T17:39:25-07:00
Forum: Bugs
Topic: PCD image not written correctly
Replies: 2
Views: 4099

Re: PCD image not written correctly

fmw42 wrote:What version of IM and platform
I see the problem with any of the following configurations:
Linux 64-bit, IM 6.8.5-4 Q16
Linux 64-bit, IM 6.5.4-7 Q16
Cygwin 32-bit, IM 6.7.6-3 Q16
Windows 64-bit, IM 6.8.2-3 Q16
by Jason S
2013-05-08T15:49:09-07:00
Forum: Bugs
Topic: PCD image not written correctly
Replies: 2
Views: 4099

PCD image not written correctly

I think that IM (as of v6.8.5-4) reads PCD (Photo CD) files correctly, but when it writes them, the colors are all wrong. Test case: convert rose: -resize '768x512!' PCD:rose.pcd convert rose.pcd rose.png Actual result: The rose in rose.png is green. Expected result: Roses are red. (And no, I don't ...
by Jason S
2013-03-15T12:18:57-07:00
Forum: Bugs
Topic: segfault when inserting transparent PNGs in emacs
Replies: 4
Views: 8737

Re: segfault when inserting transparent PNGs in emacs

The image you linked to has no transparency. The one with transparency is http://en.wikipedia.org/wiki/File:PNG_t ... tion_1.png
by Jason S
2013-02-03T15:00:40-07:00
Forum: Bugs
Topic: Bad JPEG CMYK subsampling
Replies: 2
Views: 5808

Bad JPEG CMYK subsampling

(This is probably the same issue observed in this thread .) Using IM 6.8.2-3 to convert a subsampled (YCbCr) JPEG to CMYK, I get a raw-CMYK JPEG with all channels except the Cyan channel subsampled. That's kind of a silly thing to do, and makes most images pretty blurry. $ convert logo: -quality 80 ...
by Jason S
2012-11-30T20:11:39-07:00
Forum: Bugs
Topic: Documentation of -scale does not match implementation
Replies: 3
Views: 6422

Re: Documentation of -scale does not match implementation

can you verify or point me to a case similar to my example that fails to show them equivalent for minifying? Here's an example where they are clearly different. line100.png: http://entropymine.com/jason/temp/line100.png convert line100.png -scale 73x73 line73scale.png http://entropymine.com/jason/t...
by Jason S
2012-11-30T11:07:45-07:00
Forum: Bugs
Topic: Documentation of -scale does not match implementation
Replies: 3
Views: 6422

Documentation of -scale does not match implementation

As observed in this thread , the documation of convert's -scale option is incorrect or out of date. It says it's equivalent to a box filter, but it evidently uses a pixel averaging algorithm that is only equivalent to a box filter when enlarging or shrinking by an integral factor. I think the docume...