Copy link to clipboard
Copied
Hello,
I am using the Trial version of FM 12 and attempting to export to both WebHelp and CHM.
We would like to use the original images, but the Publish process is resizing them. I read that setting Maximum Dimensions, Width and Height to 0 will cause the program not to resize the image. However, when I set W/H to 0, the images are deleted from my project output.
When I generate WebHelp I noticed that the HTML has a set style, but I haven't selected any of the options in the Image style.
<p class="FM_Figure"><img alt="UserRoles04NewRole.png" style="width : 306.319pt; height : 96.559pt; margin-bottom : 0.000pt; " id="image3" src="UserRoles04NewRole.png" /> </p>
I'm glad that the HTML is referencing the original graphic, I was thinking that for sure that the graphics were converted during the Publish process. But how do I configure my .sts so that the images are not resized?
Thanks!
Hi sosammsi,
Setting Maximum Width and Height to 0pt will set the inline max-width and height property in output to 0pt which will hide the image .
Please try setting Preferred Width and Height to 0pt. This should generate better quality images without the inline styles.
Copy link to clipboard
Copied
Are your images inside anchored frames?
Copy link to clipboard
Copied
Oops, sorry for the lack of details.
The images are pngs imported by reference, set at 150dpi into anchored frames. I'm not sure if they are contone or indexed.
Thank you.
Copy link to clipboard
Copied
Purest speculation, but might the problem have something to do with resolution? if the size of the frame is being passed through from FM (where it's just right for a graphic at 150dpi) to the .html output, I can imagine the original graphic would have to be resized for display at 96dpi on screen. Not something I've had to consider so far, as all my WebHelp deliverables to date have used svg line drawings.
I'll follow this thread with interest to find out how wrong I am :-}
Copy link to clipboard
Copied
I think you're right! Yesterday, I did try changing the DPI to 96 and the image quality was much better, but then I don't want all the images in the PDF output to be at 96 DPI. Maybe there's a way to tag the image, one for print output and one for online use, but I would much rather not do that.
Copy link to clipboard
Copied
>> ... as all my WebHelp deliverables to date have used svg line drawings.
Do the SVG vectors survive as vector?
And is that true for all work flows? (ebook, HTML, XML)
> Maybe there's a way to tag the image, one for print output and one for online use, ...
Yep, you can generate multiple instances of the images, and put each in a separate anchored frame. Then tag the frame anchor (â”») in the text with a Condition Code. Have a named CC for each workflow. Newer versions of FM may allow streamlining the CC Show/Hide process book-wide with scripting. Don't put the anchors right next to each, or they become impossible to select later. Anchor each frame to different points in the paragraph (and not inside words, other than words made of words, as that can break spell-check).
Copy link to clipboard
Copied
Hi sosammsi,
Setting Maximum Width and Height to 0pt will set the inline max-width and height property in output to 0pt which will hide the image .
Please try setting Preferred Width and Height to 0pt. This should generate better quality images without the inline styles.
Copy link to clipboard
Copied
Setting the Preferred Width and Height to 0pt worked perfectly. Thanks so very much!
Copy link to clipboard
Copied
> .. both WebHelp and CHM.
Not my workflow, but anyone who can help might want to know what the image graphics file formats are, or were if imported by Copy or pasted in (this would be for example .bmp, .eps, .svg, .pcx, .png, .tif, etc., and if .pdf, what originally).
And if raster color images, what bit depth, and by are they contone or indexed color.