Search found 10 matches

by menteith
2017-02-17T07:26:39-07:00
Forum: Magick.NET
Topic: Converting TIFF's to PDF with Sharpening
Replies: 0
Views: 18009

Converting TIFF's to PDF with Sharpening

Hi all, I use the following options of convert.exe to convert TIFF files into one PDF: -sharpen 0x1.0 -compress Group4 -quality 100 . I'm trying to convert this command to C#, however, I cannot find option in Magic.NET for -sharpen 0x1.0. Additionally, I'd like to know my code could be rewritten to ...
by menteith
2016-08-12T09:50:28-07:00
Forum: Users
Topic: convert: memory allocation failed
Replies: 4
Views: 7409

Re: convert: memory allocation failed

Setting 1GB didn't work but 500 did. Thanks!
by menteith
2016-08-12T08:58:50-07:00
Forum: Users
Topic: convert: memory allocation failed
Replies: 4
Views: 7409

Re: convert: memory allocation failed

Thanks for your quick response.

I have 75 files. All of them have 800 DPI and they are gray.

Code: Select all

identify 114_1L.tif
114_1L.tif TIFF 4209x6022 4209x6022+0+0 1-bit Bilevel Gray 3.174MB 0.000u 0:00.000
I use Windows 10 x86. I have 4GB RAM.
by menteith
2016-08-12T08:22:54-07:00
Forum: Users
Topic: convert: memory allocation failed
Replies: 4
Views: 7409

convert: memory allocation failed

Hi all, I have encountered the "memory allocation failed" problem. I'm trying to convert a 472MB folder with TIFFs to a PDF file. I use current version of IM, specifically ImageMagick-7.0.2-7-Q8-x86-dll.exe on Windows 10. My GhostScript is also current, that is, Ghostscript 9.19 (2016-03-2...
by menteith
2016-07-21T06:27:55-07:00
Forum: Windows COM+ & Visual Basic
Topic: No decode delegate error while using COM
Replies: 0
Views: 54901

No decode delegate error while using COM

Hi all, In Windows when I run convert.exe source.tif -compress Group4 output.pdf there is no error and the output is created successfully (and it is compressed). However, when I use COM I get an error: Error: 0x80041771 - Source: ImageMagickObject.MagickImage.1 Description: convert: 420: no decode d...
by menteith
2015-04-07T01:58:39-07:00
Forum: Users
Topic: Resize all images to the same dimension while preserving the aspect ratio
Replies: 2
Views: 7897

Re: Resize all images to the same dimension while preserving the aspect ratio

Thank you! I have used the last command and when it has finished I used the following (in a .bat file in windows) to split images into two: set "parameters=-crop 2x1@ +repage -colorspace gray +dither -colors 4" FOR %%f IN (*.jpg) DO convert "%%f" %parameters% "split\%%~nf_%%...
by menteith
2015-04-06T06:40:33-07:00
Forum: Users
Topic: Resize all images to the same dimension while preserving the aspect ratio
Replies: 2
Views: 7897

Resize all images to the same dimension while preserving the aspect ratio

Hi all, My questions is quite unusual but it's very important for me. I have a bunch of files with one of the dimensions (either heigh or width) the same while the other is of very similar value to each other (e.g. all have heigh of 2576 and the width is sometimes 2800, sometimes 2822 etc.). The tas...
by menteith
2015-03-31T02:59:51-07:00
Forum: Users
Topic: Split image into two
Replies: 5
Views: 6156

Re: Split image into two

Yes, this is one command. Without that "*.jpg", the command should read one file called "page000.jpg" and create 2 files called "page000_0.jpg" and "page000_1.jpg". Now everything is clear and works like a charm. Is there a possibility to rewrite this code thi...
by menteith
2015-03-31T02:44:20-07:00
Forum: Users
Topic: Split image into two
Replies: 5
Views: 6156

Re: Split image into two

Thank you very much for your detailed answer. Please have a look at this output: D:\split>dir /B 00002.jpg 00037.jpg 00038.jpg D:\split>convert page000.jpg -crop 2x1@ +repage -colorspace gray +dither -colors 4 page000_%d.jpg *.jpg D:\split>dir /B 00002.jpg 00037.jpg 00038-0.jpg 00038-1.jpg 00038-2.j...
by menteith
2015-03-30T14:55:50-07:00
Forum: Users
Topic: Split image into two
Replies: 5
Views: 6156

Split image into two

Hi all, I am new to IM but I am amazed by its features. I use the following command to crop and split all jpgs in a folder in two (producing two files) convert page000.jpg -crop 2x1@ +repage -colorspace gray +dither -colors 4 *.jpg from http://www.imagemagick.org/discourse-server/viewtopic.php?t=195...