PDF to TIFF Image Quality

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
SKING72
Posts: 3
Joined: 2017-01-05T09:12:25-07:00
Authentication code: 1151

PDF to TIFF Image Quality

Post by SKING72 »

Greetings, all.

I'm using the CONVERT CLI to convert a PDF to TIFF. It works but the quality of the resulting TIFF leaves a bit to be desired. It's rather grainy/pixelated especially when zoomed in a couple of times. I've tried the -quality 100 parameter to no avail. What else can I do to have the resulting TIFF as clear as possible?

Thanks!
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: PDF to TIFF Image Quality

Post by snibgo »

Try the "-density" setting.
snibgo's IM pages: im.snibgo.com
SKING72
Posts: 3
Joined: 2017-01-05T09:12:25-07:00
Authentication code: 1151

Re: PDF to TIFF Image Quality

Post by SKING72 »

Thanks. I'm able to improve the quality but there's an issue whereby the FileNet IDM viewer displays a blank screen when I try to open my converted TIF.

I downloaded a TIF from FileNet and compared the two. Here are the differences:

"GOOD" TIF (downloaded from FileNet IDM Image Viewer)
Dimensions: 1699x2200
Horz. Res.: 200dpi
Vert. Res.: 200dpi
Bit Depth: 1
Compression: CCITT T.6
Resolution Unit: 2

"BAD" TIF (converted w/ ImageMagick from PDF)
Dimensions: 1700x2200
Horz.Res.: 200dpi
Vert. Res.: 200 dpi
Bit Depth: 64
Compression: Uncompressed
Resolution Unit: 1


Assuming that somewhere within these differences lies the problem how can I get CONVERT.EXE to match these specs?

Thanks!
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: PDF to TIFF Image Quality

Post by snibgo »

You haven't said what version of IM you are using, or posted a link to your input PDF or output TIFF, or shown the IM command you used.

How do you think we can guess?
snibgo's IM pages: im.snibgo.com
SKING72
Posts: 3
Joined: 2017-01-05T09:12:25-07:00
Authentication code: 1151

Re: PDF to TIFF Image Quality

Post by SKING72 »

Unfortunately I cannot share the PDF/TIFF because it contains sensitive information. However, I found something that worked perfectly. First, I switched to GhostScript and used the "tiffg4" device (sDEVICE=tiffg4) and that got me EXACTLY what I wanted.
Post Reply