|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Fop source-resolutionIs there anyway to apply a specific source-resolution to an individual image?
My problem is that I have some images that were drawn for 300pdi and others fo 72dpi. I want everything to be 72dpi, and redrawing the images is not an option. If i keep the source-resolution at 72dpi all of the 300dpi images look huge! I can try and scale them by setting a specific width, however i do not have the widths of the images... any suggestions or ideas on how i can fix this issue? |
|
|
Re: Fop source-resolutionMy suggestion: Use 0.95beta and
inline-progression-dimension.maximum="100%" content-width="scale-down-to-fit" to restrict the images to a maximum size. FOP always uses the image's resolution to determine the intrinsic size. Only if an image has now explicit resolution, the source-resolution setting in the configuration is used. There's currently no way to override the resolution for single images in FO. HTH On 08.07.2008 19:03:44 _zachary_ wrote: > > Is there anyway to apply a specific source-resolution to an individual image? > > My problem is that I have some images that were drawn for 300pdi and others > fo 72dpi. I want everything to be 72dpi, and redrawing the images is not an > option. If i keep the source-resolution at 72dpi all of the 300dpi images > look huge! I can try and scale them by setting a specific width, however i > do not have the widths of the images... any suggestions or ideas on how i > can fix this issue? > -- > View this message in context: http://www.nabble.com/Fop-source-resolution-tp18343823p18343823.html > Sent from the FOP - Users mailing list archive at Nabble.com. > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop source-resolutionJeremias Maerki wrote:
> My suggestion: Use 0.95beta and > inline-progression-dimension.maximum="100%" > content-width="scale-down-to-fit" to restrict the images to a maximum > size. > > FOP always uses the image's resolution to determine the intrinsic size. > Only if an image has now explicit resolution, the source-resolution > setting in the configuration is used. There's currently no way to > override the resolution for single images in FO. This seems reasonable - if neccessary the OP can use a tool e.g. ImageMagick to SET the resolution on an image. If the OP is using a format which does not support resolution fields (e.g. GIF), this would also need some kind of conversion. BugBear --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
| Free Forum Powered by Nabble | Forum Help |