[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] Scale Image to fit in width or leave unscaled
Hi Paul Sorry, the second case should have a
contentdepth attribute instead of contentwidth. (These both specify a container size into which the image fits) I’m not sure that I understand your second question. For my purposes, I can see in the pdf output that it doesn’t fit. Are you trying
to predict, prebuild, whether an image will fit or not? Pixel width isn’t an absolute measure but look at a few of your cases (image property details) to get a rough idea of what pixel width is too large in your case (it may vary depending on screen resolution). I don’t think it’s relevant in your case but the final complication I had was in the online output (javahelp). For that, I tried a
whole range of styling solutions based on online suggestions but eventually I settled on resizing the image in an image editor and testing the output until it was a reasonable width in the online output. [Incidentally, resizing images was my best way for me
to handle inline images as well]. As I said previously, not exactly sophisticated but the most practical solution in my case. Feel free to keep asking questions. I’m
just sharing my experiences and solution until an expert jumps in with something more generalisable! Cheers Greg From: Paul Baumer [mailto:paul.baumer2@gmail.com]
Hi Greg, thanks! I don't see a difference between the attributes of two cases though. A typo? Secondly how can I know if an image is too wide to fit on the selected page? Paul On Mon, Oct 17, 2016 at 4:38 PM, Greg Cale <Greg.Cale@csgi.com> wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]