[PD] GEM: writing an image different from the one displayed
Jack
jack at rybn.org
Tue Nov 17 01:41:22 CET 2009
I have done this patch.
It works with a [gemwin] with [dimen 800 600( and capture a picture with
dimen = 1600x1200.
Hoping it helps.
++
Jack
Le lundi 16 novembre 2009 à 01:41 +0100, Matteo Sisti Sette a écrit :
> Hi,
>
> I have to modify some patches made by another person.
>
> In one of them, [pix_write] is used to save screenshots of the image
> being shown in the gemwin.
>
> However, the user would like to be able to save a higher quality image,
> namely 2000x2000 (so it can be printed).
> To my knowledge (and to the knowledge of the person who made the patch),
> the only way to do this is to increase the resolution of the gemwin. But
> since the resolution of the screen cannot be increased so much, the
> complete image cannot be seen.
> The user wants to be able to still see the whole image (at its usual
> resolution of 480x480) while saving screenshots at a higher resolution.
>
> So the question is: is it possible to save an image which is not the one
> being rendered into the gemwin? So that I can for example generate a big
> image, save it, reduce its size, and render the reduced image instead of
> the big one?
>
> A slow-down due to great cpu consumption at the moment of "capturing"
> the image would be acceptable (though not desired, obviously) provided
> that it is limited to the moments when the image is captured.
>
> Any idea?
>
> P.S.: The image is being generared by "tiling" the image from a camera,
> i.e. repeating it: that's why it make sense to save the resulting image
> in a higher resolution: if the camera has for example a res of 640x480
> and it is being repeated in a 5x5 grid, up to 3200x2400 resolution
> "makes sense" for the saved image.
>
>
> Thank you very much
> m.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: captureGemwin.pd
Type: text/x-puredata
Size: 2826 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091117/c989518c/attachment.bin>
More information about the Pd-list
mailing list