FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   screenGrab filenames+format
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: screenGrab filenames+format  (Read 331 times)
amoeba

WWW
screenGrab filenames+format
« on: Sep 2nd, 2003, 2:42pm »

hi guys,
 
just putting the finishing touches on a big animation project done exclusively in p5. 6 animations of 27 seconds @ 25fps, all computational glory.
 
in that connection I've been having some frustrating experiences:
 
1. the default filename of "screen-?.tif" is not very useful, so I had to write a utility to rename all files after they get output. would it be possible to allow screenGrab to take a filename as input, or at least use the name of the PDE as prefix?
 
2. the TIFF format output by processing can not be read by Adobe After Effects, forcing me to do a tedious conversion to PSD via Photoshop's Automate command. it takes forever. I assume uncompressed TIFF has been chosen for fast writing. how about adding uncompressed TGA as an option, since that is more widely supported (ok, at least by Adobe...)
 
 
just my 2 (euro)cents... look forward to the ars electronica workshop!
 
marius watz
http://www.evolutionzone.com/
 

marius watz // amoeba
http://processing.unlekker.net/
mKoser

WWW Email
Re: screenGrab filenames+format
« Reply #1 on: Sep 2nd, 2003, 3:27pm »

hey,
 
you can use a default filename (since rev 0056 i think)
(http://proce55ing.net/reference/screenGrab_.html)  
 
like this:
Code:
screenGrab(myDump);

as an example.
 
+ mikkel
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
amoeba

WWW
Re: screenGrab filenames+format
« Reply #2 on: Sep 2nd, 2003, 4:08pm »


ok, so I'm dumb and lazy and I don't read the reference. thanks!
 
m
 

marius watz // amoeba
http://processing.unlekker.net/
fry


WWW
Re: screenGrab filenames+format
« Reply #3 on: Sep 2nd, 2003, 4:16pm »

the uncompressed tifs are used because of simplicity of writing--that it's about 10-15 lines of code to slap a raw tiff header on the thing.  
 
there's something odd about them that they're not being read by afx, since i think uncompressed tiff is ok in afx, it's just that something is missing from the header (a re-saved uncompressed tiff from photoshop seems to work).
 
so that part is a known bug and we're planning to fix..  
 
as for .tga.. that'd be easy to add, or maybe we can just make an example that uses it as a temporary fix till i repair the tiff code.
 
fry


WWW
Re: screenGrab filenames+format
« Reply #4 on: Sep 4th, 2003, 9:36am »

toxi is a madman and threw together targa output code, so screenGrab("something.tga") will save a targa file in rev 60 once that arrives.
 
benelek

35160983516098 WWW Email
Re: screenGrab filenames+format
« Reply #5 on: Sep 4th, 2003, 5:22pm »

yeeha, and yooray to the madman!
 
Koenie

170825270170825270koeniedesign WWW Email
Re: screenGrab filenames+format
« Reply #6 on: Sep 4th, 2003, 7:23pm »

Toxi, the madman, a name we will always remember.
 

 
Koenie
 

http://koeniedesign.com
mKoser

WWW Email
Re: screenGrab filenames+format
« Reply #7 on: Sep 5th, 2003, 8:34am »

he's mad... MAD I TELL YA!
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
Pages: 1 

« Previous topic | Next topic »