Search found 21 matches

by Ivar Snaaijer
2013-09-30T07:46:53-07:00
Forum: Bugs
Topic: IM ignores -page option
Replies: 10
Views: 8917

Re: IM ignores -page option

The images are quite different (portrait vs landscape) do you want to rescale the images to fit in the 300x422 box ?
by Ivar Snaaijer
2013-09-30T01:24:19-07:00
Forum: Bugs
Topic: Monochrome tiff to PDF with JPEG2000
Replies: 1
Views: 4353

Monochrome tiff to PDF with JPEG2000

ImageMagick 6.8.7-0 2013-09-18 Q16 When I convert a monochrome tiff image, obtained with convert some.txt -monochrome some.tif to a PDFA with JPEG2000 compression convert some.tif -format pdfa -compress jpeg2000 some.pdf The resulting PDF contains an image with a gray background. when I use convert ...
by Ivar Snaaijer
2012-03-28T07:54:31-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

I still did not came around testing this but in the changelog Cristy wrote :

2012-02-13 6.7.5-6 Cristy <quetzlzacatenango@image...>
Only set PDF & PS page size when explicitedly requested (e.g. -page).

Which would mean the problem is solved. The OP might be able to confirm
by Ivar Snaaijer
2012-02-22T01:24:08-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

I see there has been a changehttp://trac.imagemagick.org/changeset/6 ... ders/pdf.c made in regard to the -g handling.

I do not yet understand the implications of this change, I'll report back when I have tested it. Thanks.
by Ivar Snaaijer
2012-01-07T15:21:20-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

I have converted the file from thread 20078 with 6.6.0-4 2011-06-15 Q16 (a) on Ubuntu x64 (latest version) and the colours are off, but reasonable. I also converted the same file with 6.6.7-10 2011-02-22 Q8 (b) and 6.7.4-3 2011-12-24 Q8 (c) On Ubuntu I have ghostscript 9.04 (2011-08-05) x64 (a) on W...
by Ivar Snaaijer
2012-01-05T13:57:09-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

@Wolfgang. I'm sorry, i meant that these problems were in the past. i work with different versions of imagemagick and the older ones gave some problems when mixed with ghostscript 9.02 x64. this is not a problem any more. @Magick. I can not predict the size of the incoming pdf files. some might be A...
by Ivar Snaaijer
2012-01-05T01:33:04-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

There was a change in the code involving -g in the pdf.c file, the delegates.xml is not changed in any significant way.

http://trac.imagemagick.org/changeset/6 ... ders/pdf.c

I'll pm 'cristy' as he made the change (assuming he is not yet aware of this thread)
by Ivar Snaaijer
2012-01-04T16:32:58-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

I found two problems, but both were simple configuration incompatibilities. ghostscript is called gswin32c.exe and gswin64c.exe depending on which version. either change the xml or copy the exe (create a copy of gswin32c.exe and call it gswin64c.exe or vise versa). The other problem was the -q switc...
by Ivar Snaaijer
2012-01-04T05:04:20-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

I tried with ImageMagick 6.6.7-10 2011-02-22 Q8 And got results i like (this is the verbose output) [ghostscript library] Files/gs/bin/gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha&qu...
by Ivar Snaaijer
2012-01-04T04:37:19-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 31940

Re: PDF to JPG : images cropped without reason

I ran into a similar problem with ImageMagick 6.7.4-1 2011-12-18 Q8 I convert a multipage pdf with different pagesizes to tiff. It seems that only the last page is used for metrics as i can see in the output of -verbose : [ghostscript library] Files/gs/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBAT...
by Ivar Snaaijer
2007-02-23T13:44:27-07:00
Forum: Users
Topic: Removal of halftone
Replies: 4
Views: 17182

Re: Removal of halftone

I have been trying around and from an other pice of the forum i took this : convert in.png -blur 0x2 -threshold 50% out.png And it gives a reasonable OCR'able picture. (that was also something we wanted to do) but it wrecks havoc on other parts of the image. http://oor.snaaijer.nl/download/answer_de...
by Ivar Snaaijer
2007-02-23T05:01:25-07:00
Forum: Users
Topic: Removal of halftone
Replies: 4
Views: 17182

Removal of halftone

Is there a way to remove this kind of halftone speckles from images with convert ? I tried with -despeckle but that did not work as the speckles are way too big. The distribution of the dots is rather uniform so I was thinking of changing the parameters of despecle, but there are none ... http://oor...
by Ivar Snaaijer
2006-03-19T08:47:28-07:00
Forum: Users
Topic: PDF in monochrome image
Replies: 1
Views: 13766

The image will than not realy be black and white, it will still be a color image, so the size will not change, and you can not use fax encoding.
by Ivar Snaaijer
2006-03-18T14:20:41-07:00
Forum: Developers
Topic: Group4 and Fax encoding issues in pdf
Replies: 2
Views: 19898

Great news ! I am digging throug the code to find a possibe solution. and i come across something odd. To tell the PDF-Reader thet it is a G3 or G4 CCITT encoding you need to set the K parameter value to -1 (for G4) or 0 (G3), it even allowes for a mixed mode (K > 0 indicating maximum sequential G4 ...
by Ivar Snaaijer
2006-03-18T08:25:06-07:00
Forum: Developers
Topic: Group4 and Fax encoding issues in pdf
Replies: 2
Views: 19898

Group4 and Fax encoding issues in pdf

See also http://studio.imagemagick.org/discussion-server/viewtopic.php?t=5744 I changed the file pdf.c of the latest 6.2.5 source code to reflect the changes mentioned in the post. (there are two occurences of the '<< >>' string) Then I compiled it on my SuSE 9.3 box. when i run convert like this : ...