chris clepper wrote:
On 3/21/07, marius schebella marius.schebella@gmail.com wrote:
you did not understand my problem. some images have a 4:3 aspect ratio, but not all of them. some have 3:4, some have 1:2, some are squares. I cannot tell that. with the texture method all pictures, which are not 4:3 get distorted/stretched. or am I missing something? marius.
pix_info will tell you the dimension of the image in pixels and you can resize surfaces based on that.
OH! thanks, did not know that. that indeed helps a lot! marius.