Miserere
August 15th, 2008, 00:03
I'm about to run a Cthulhu campaign, and a big part of the visual appeal will be having portraits of the npcs they meet. I've been scanning portraits in from a bunch of sourcebooks, but I'm running into a problem.
The portraits are rectangular in shape, with a height to width ratio of about 1.5 to 1. When I view these portraits in Fantasy Grounds I'm getting very strange result with its choice of frame. For some the frame is perfect for the image and the entire picture is viewable with no scrolling. For others I'm getting a roughly square frame, which requires scrolling to see the entire image. Obviously, you don't want scrolling when you're just viewing a portrait of someone. Mind you, this happens with images of EXACTLTY the same dimensions (in this case 251 x 170 pixels) - one will show beautifully while the other gets the scrolling treatment.
Does anyone understand the logic behind the image sizing, or written more intelligent code for viewing images? There is no way that a 251 x 170 image should EVER require scrolling, so something is mucked up somewhere.
Thanks for looking.
The portraits are rectangular in shape, with a height to width ratio of about 1.5 to 1. When I view these portraits in Fantasy Grounds I'm getting very strange result with its choice of frame. For some the frame is perfect for the image and the entire picture is viewable with no scrolling. For others I'm getting a roughly square frame, which requires scrolling to see the entire image. Obviously, you don't want scrolling when you're just viewing a portrait of someone. Mind you, this happens with images of EXACTLTY the same dimensions (in this case 251 x 170 pixels) - one will show beautifully while the other gets the scrolling treatment.
Does anyone understand the logic behind the image sizing, or written more intelligent code for viewing images? There is no way that a 251 x 170 image should EVER require scrolling, so something is mucked up somewhere.
Thanks for looking.