Image resizing

If I load image via PxLoadImage (using example in the manual) the image is
always displayed in the original size. How can I display it in a different
size as e.g. utility “pv” does it ?

Thanks
Vladimir

vladimir kostal <kostal@disam.cz> wrote:

If I load image via PxLoadImage (using example in the manual) the image is
always displayed in the original size. How can I display it in a different
size as e.g. utility “pv” does it ?

You have to rescale it, see http://www.parse.com/samples/manpages/rescale.html

Ahoj,
-R


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/

What do you think about the function PiResizeImage?

PhImage_t *PiResizeImage( PhImage_t *image, PhRect_t const bounds, int
newWidth, int newHeight, flags );
You can see the flags if select the help for an other Pi
Image - function.

Bye Sascha


“Robert Krten” <rk@parse.com> schrieb im Newsbeitrag
news:c41dqp$8v3$1@inn.qnx.com

vladimir kostal <> kostal@disam.cz> > wrote:
If I load image via PxLoadImage (using example in the manual) the image
is
always displayed in the original size. How can I display it in a
different
size as e.g. utility “pv” does it ?

You have to rescale it, see
http://www.parse.com/samples/manpages/rescale.html

Ahoj,
-R


[If replying via email, you’ll need to click on the URL that’s emailed to
you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector > http://www.parse.com/~pdp8/

Sascha Morgenstern <sascha.morgenstern@bitctrl.de> wrote:

What do you think about the function PiResizeImage?

PhImage_t *PiResizeImage( PhImage_t *image, PhRect_t const bounds, int
newWidth, int newHeight, flags );
You can see the flags if select the help for an other Pi
Image - function.

That’s why I’m not a photon guy – too many functions! :slight_smile: :slight_smile:

Cheers,
-RK

Bye Sascha



“Robert Krten” <> rk@parse.com> > schrieb im Newsbeitrag
news:c41dqp$8v3$> 1@inn.qnx.com> …
vladimir kostal <> kostal@disam.cz> > wrote:
If I load image via PxLoadImage (using example in the manual) the image
is
always displayed in the original size. How can I display it in a
different
size as e.g. utility “pv” does it ?

You have to rescale it, see
http://www.parse.com/samples/manpages/rescale.html

Ahoj,
-R


[If replying via email, you’ll need to click on the URL that’s emailed to
you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector > http://www.parse.com/~pdp8/


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/