Proportional Scaling of non-EPS images in RR ?

2007-09-18 Thread Richmond Mathewson
If I import a JPG, PNG, GIF or other image into a stack and it is larger than the card there seems to be no way that I can shrink it to fit as the SCALE command does with EPS or QT imports: for instance: set the scale of img "RUBBISH.jpg" to 2 does nothing Now, it is possible to scale non EPS i

Re: Proportional Scaling of non-EPS images in RR ?

2007-09-18 Thread Mark Smith
Richmond, this should work, I think: on scalePic pImg put min(the height of this stack / the height of pImg, the width of this stack / the width of img pImg) into tFactor set the height of img pImg to the height of img pImg * tFactor set the width of img pImg to the width of img pImg * t