[PD] pix_draw flipped

marius schebella marius.schebella at gmail.com
Wed Mar 21 19:51:30 CET 2007

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?

chris clepper wrote:
> On 3/21/07, marius schebella <marius.schebella at gmail.com> 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.

More information about the Pd-list mailing list