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)
   extend image.alpha()
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: extend image.alpha()  (Read 340 times)
rgovostes

rgovostes
extend image.alpha()
« on: Feb 20th, 2004, 4:53am »

It would be helpful if image.alpha() would take an integer (0 to 255) and set the entire mask of the BImage to that - so you don't have to fill out an entire array first.
 
fry


WWW
Re: extend image.alpha()
« Reply #1 on: Feb 21st, 2004, 7:58pm »

using tint() would give you the same thing, so we prolly wouldn't add that to the api.  
 
although, maybe it'd be good to have a way to permanently apply a tint() command to an image, making it more generally useful.
 
rgovostes

rgovostes
Re: extend image.alpha()
« Reply #2 on: Feb 21st, 2004, 9:55pm »

I am thoroughly confused by the whole tint(), blend(), alpha() thing. Please see this post:
 
http://processing.org/discourse/yabb/board_Syntax_action_displa_y_num_1077060875.html
 
Does the maximum alpha value you set via the colorMode() command affect this in any way, or is it always 0 to 255
 
EDIT: It seems that no one knows about this :| Any time I mention it the post gets no replies.
« Last Edit: Feb 24th, 2004, 10:15pm by rgovostes »  
Pages: 1 

« Previous topic | Next topic »