Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 09 MAR 1999 04:39:46PM Peter Walding wrote:

Hi everyone

We have different customers who use photos. The problem is they have photos of differing heights and widths. If I use a preset size to display the photo in and use the resizing option rather than the clip option, the photo can be distorted either horizontally or vertically.

How do I dynamically determine the size of the photo stored on the disk and set an appropriate sized bitmap in order to maintain the ratios?

The size property seems to refer to the size of the display area rather than the size of the photo as stored on disk.

Peter


At 10 MAR 1999 06:24AM Oystein Reigem wrote:

Peter,

I only know the answer for BMP files. See this posting by Don Bakke.

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/2b984535e4112f3c8525672f0076ff90.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1