Skip to main content
Participant
March 17, 2010
Question

Captured screenshots stretching in browser window.

  • March 17, 2010
  • 2 replies
  • 2763 views

Hello.  I'm using RoboHelp HTML 8.0.2.208.  I'm creating an online user manual (exporting as FlashHelp), for which I am capturing many screen shots of my application, and cropping to various sizes (using RoboScreenCapture).  I'm editing the size of the new images, and generally "maintaining aspect ratio" and setting the preferred width to 80%.  When I initially preview the topic and new image, the image is often (not always) stretched horizontally down the screen.  If I close preview, and re-open (without saving or anything), the image is then displayed fine.  The same thing is happening with my generated output file, both while viewing in a web browser, and within a JFrame: When you click on a topic in the TOC, the screen-captured images are distorted and stretched horizontally.  If you simply re-click the topic and reload the page, the displayed image appears fine.  Images in the same topic, further down the page, however, display the same behavior until you re-load with them in the viewing pane.

If there is a fix to this, can it be applied to all of my images?  Thank you!!!

Chris

This topic has been closed for replies.

2 replies

March 18, 2010

Hi,

Resizing of screen shots is a problem I've wrestled with also. The way I usually do it is as follows:

  • Capture image using paintshop pro and do any cropping or special effects in there but leave size alone.
  • Save as a gif
  • Then if I need to resize the image I import into Viso which allows me to re-size the iamge with very little loss of resolution prior to re-saving as  a gif.
  • For most situations I bring the image into RH at actual size.

csmysticAuthor
Participant
March 18, 2010

All - Thanks very much for the replies and helpful discussion.  It seems the consensus is to resize the image before import (if necessary, but not recommended).  I was hoping to utilize the '%' variable for "preferred width", however this doesn't seem appropriate unless you are specifically defining the size of your web page, which I am not.  So, I'll have to decide on an appropriate static size for most images and stick with that.  Thank you!!

Chris

Peter Grainge
Community Expert
Community Expert
March 17, 2010

If the image is in RH and then you resize it, you need to right click the image and select Reset Size. Could that be it?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
csmysticAuthor
Participant
March 17, 2010

Thanks Peter, but I don't think that's it.  'Reset' brings the image back to the original size, which in this case is too big for the FlashHelp browser.  It appears that the problem is with the "Preferred Height" setting, which is being captured as a percentage when I set my "Preferred Width" setting to 80%.  When the page first loads, the overall length is not static, so the image is stretched.  Once the page length info is cached, and the image re-loaded, it displays fine.

Maybe a better question for this forum is: What is the best practice for setting RoboHelp screen capture image sizes to achieve the optimal display for users?

Peter Grainge
Community Expert
Community Expert
March 17, 2010

Personally I set up RH so that when I select Edit on the context menu, the image opens in SnagIt. I resize and save it there and on returning to RH it will look stretched until I use Reset Size. Then it all works OK.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.