[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Image resolution in print.
Paul, Thanks for the explanation. You're right, it is the ImageMagick identify, and by now I should know to just add -verbose to any command that doesn't give me what I want:-). FYI, more in my reply to Bob. Thanks, Dick ------- XML Press XML for Technical Communicators http://xmlpress.net hamilton@xmlpress.net On May 15, 2012, at 5:45 AM, Bort, Paul wrote: > When you say "identify", I assume you mean ImageMagick's identify. If the "-verbose" option doesn't give you a specific resolution for an image, then it doesn't have one. Most software will then default to 72DPI. > > You can set the resolution with the "mogrify" utility, like so: > > mogrify -density 300x300 -units PixelsPerInch foo.png > > Hope this helps. > > Regards, > Paul Bort > Systems Engineer > TMW Systems, Inc. > pbort@tmwsystems.com > 440 721 2233 (voice) > 440 290 2662 (fax) > >> -----Original Message----- >> From: Richard Hamilton [mailto:hamilton@xmlpress.net] >> Sent: Tuesday, May 15, 2012 4:25 AM >> To: docbook-apps mailing list >> Subject: [docbook-apps] Image resolution in print. >> >> Is there a description anywhere about how to deal with images of different >> dpi in the FO stylesheets? >> >> I've got an image that is 800x600, and as far as I can tell (identify doesn't say >> anything about dpi), it is a 300dpi image. >> >> I want that image to pass through to the FO and PDF as a 300dpi image, >> unchanged. >> >> Does anyone know the magic incantation of imagedata attributes that will >> cause this to happen? The combination I thought would work (width="100%" >> contentwidth="100%" scalefit="1", as suggested by Bob's book) gives me an >> image that is considerably smaller than I expected, and I'm not sure whether >> the problem is the wrong attributes or if there might be a problem with the >> image. >> >> Any help would be greatly appreciated. >> >> Best Regards, >> Dick Hamilton >> ------- >> XML Press >> XML for Technical Communicators >> http://xmlpress.net >> hamilton@xmlpress.net >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]