Search found 10 matches

by martin0
2017-11-19T08:24:51-07:00
Forum: Users
Topic: JBIG2DECODE in pdf
Replies: 3
Views: 8038

JBIG2DECODE in pdf

Hi,
I wish to decode a jbig2 image in a pdf.
I see that ImageMagick understands CompressionMethod JBIG2, but not the format.

is there an alternate format I should use for this scenario?

Kind Regards
Martin
by martin0
2017-05-31T12:01:25-07:00
Forum: Magick.NET
Topic: convert -level 25%,75% in Magick.Net
Replies: 3
Views: 12668

Re: convert -level 25%,75% in Magick.Net

Can't imagine why I didn't see that before! doh
Thanks
Martin
by martin0
2017-05-30T14:36:19-07:00
Forum: Magick.NET
Topic: convert -level 25%,75% in Magick.Net
Replies: 3
Views: 12668

convert -level 25%,75% in Magick.Net

Hi, I'm trying to achieve the equivalent of convert.exe input.jpg -level 25%,75% output.jpg I'm using MagickImage ContastStretch method. Basically it's not working. using (MagickImage image = new MagickImage("input.jpg")) { image.ContrastStretch(new Percentage(25), new Percentage(75)); // Save image ...
by martin0
2017-04-27T08:57:40-07:00
Forum: Magick.NET
Topic: MagickImage.Write 0 size empty result
Replies: 5
Views: 18386

Re: MagickImage.Write 0 size empty result

Hi,
Not yet, but I currently think the problem lies else where.
Happy to have it left with me, unless I come back.
I'll confirm if I resolve the problem - not currently full time on this, so unsure of timescales.
Martin
by martin0
2017-04-27T02:53:13-07:00
Forum: Magick.NET
Topic: MagickImage.Write 0 size empty result
Replies: 5
Views: 18386

Re: MagickImage.Write 0 size empty result

I think I may have had a memory leak, leading to unexpected behaviour....
by martin0
2017-04-26T07:02:03-07:00
Forum: Magick.NET
Topic: MagickImage.Write 0 size empty result
Replies: 5
Views: 18386

Re: MagickImage.Write 0 size empty result

I'm using Assembly Magick.NET-Q16-AnyCPU, Version=7.0.0.0
by martin0
2017-04-26T06:56:11-07:00
Forum: Magick.NET
Topic: MagickImage.Write 0 size empty result
Replies: 5
Views: 18386

Re: MagickImage.Write 0 size empty result

Slightly more information, I'm trying to return a decoded image to a calling function. I receive the encoded data, decode it by constructing the MagickImage, passing in encodeddata and readSettings. use image.Write to save the decoded data. The original data is MagickFormat.G4, CompressionMethod.Fax ...
by martin0
2017-04-26T06:41:16-07:00
Forum: Magick.NET
Topic: MagickImage.Write 0 size empty result
Replies: 5
Views: 18386

MagickImage.Write 0 size empty result

Hi, I've got some code that uses MagickImage class. The code used to work (I thought) so obviously something's changed, and I'm trying to troubleshoot the problem... My code looks like this: MemoryStream ms = null; MagickImage image = new MagickImage(data, readSettings); image.Format = MagickFormat ...
by martin0
2016-11-04T04:26:25-07:00
Forum: Developers
Topic: decode pdf image /FlateDecode /RunLengthDecode
Replies: 2
Views: 7982

Re: decode pdf image /FlateDecode /RunLengthDecode

Hi snibgo, Thanks for that. I'll try to make more sense of the pdf.

Martin
by martin0
2016-11-03T03:52:22-07:00
Forum: Developers
Topic: decode pdf image /FlateDecode /RunLengthDecode
Replies: 2
Views: 7982

decode pdf image /FlateDecode /RunLengthDecode

Hi, I have a pdf with an image having the filters /FlateDecode /RunLengthDecode (in that order) I've seen table PS/PDF Compression Meanings in http://www.imagemagick.org/Usage/formats/ which explains they are equivalent to "-compress zip" and "+compress" "-compress rle" any thing else respectively ...