On 06/14/2013 04:44 AM, Фывапр Олджэвич wrote:
problems wich need your help:

1] i don't need to show the actual video stream.. i just need to show slide 
show.. but [pix_write] captures only if smthng is rendered to the gemwin

[pix_writer] will do exactly what you want: take a pix (as produced by [pix_video]) and write it to disk.


- can i make the second gemwin for the slideshow ?

current Gem only has single window support.


- ok, i can let there be two pictures rendered together: left - the live ; 
right - the slideshow... so i tried to capture only half of the window - and 
the [pix_write] has the [Xpos Ypos( and the same parameteres for Size ... but 
nowhere told in what numeration it is ? .. it is not the same as size and 
position of geometries such are [rectangle] - so i can't easily match the area 
to capture.. How can i do it ???

[translate] takes 3d-coordinates, whereas [pix_write] takes screen coordinates (pixels). the relation between the two depends on a number of things.
but with [pix_writer] you do not have this problem.


2] i need to make my own names for the files stored - simple like : 1.jpg ; 
2.jpg ...  [pix_write] doesn't allow that. it makes some difficult names.

it makes difficult names so that when you have a lot of images they are still sorted correctly. (instead of: 1.jpg 10.jpg 100.jpg ... 199.jpg 2.jpg 20.jpg ...)

since [pix_writer] is essentially an abstraction (based on [pix_buffer] of size 1), you can modify the naming algorithm to your liking.


- how could i then recall that files with [pix_image] ?  how can i form a message with the filename 
like "gem00001.tif" , where the only part will be changing the "1" .. i tryied 
[makefilename], but it makes [symbols], which can't be put into [message( - it means useless for 
the changing filenames on the fly ... ?

???
you seem to get something wrong here, as [makefilename]'s main purpose it to create filenames that can be used in [messages( on the fly:

[loadbang]
|
[metro 1000]
|
[random 100]
|
[makefilename gem%5d.tif]
|
[open $1(
|
[pix_image]



_______________________________________________
GEM-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/gem-dev

Reply via email to