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.
chris clepper wrote: > On 3/21/07, marius schebella <[EMAIL PROTECTED]> wrote: >> I don't know the aspect ratios of the images I want to load... >> I really just need to display the images. >> but when I think longer about the problem, I will have to find a >> solution to get the aspect ratios anyway. still, for the moment a >> working pix_draw would help me. > > You need to know the ratio of the output window, which is easy since > you set it yourself using the 'dimen' message. For example, > [rectangle 5.33 4] covers a 4:3 gemwin of any pixel dimension. > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
