RE: [AD] Question about 256 colors modes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi Vicent,

I don't get which "program" do you say I've "told" to
generate black or transparent.

The fact was this:

- I have a new palette generated by Photoshop where
the BLACK color (0,0,0) was not at the index color 0.
- In this case, the ALLEGRO program did not use as
transparent the BLACK (0,0,0) color, it used the one
at index color 0 (which made me formulate the
question).
- I've used another platforms (and hardware) where the
index color for transparent can be set, and didn't
found any significant delay. May be on allegro is not
the case, I don't know. I guess it would be
interesting to have this capability on the new GUI, as
Elias said before.

Kind regards, Hugo.


 --- Vincent Penecherc'h
<Vincent.Penecherch@xxxxxxxxxx> escribió:

> > problem I've found is that sometimes the graphics
> > programs (e.g. Photoshop) does not put the
> rgb=(0,0,0)
> > at index 0 by default, then you can find that
> > masked_blit does not "mask" because of this. In my
> > case, the (0,0,0) appeared at index 254... (!?).
> 
> This appears to be a flaw in your reasonning. Did
> you tell
> the program to generate transparency, or black ?
> From what
> you said, I think you told it to generate black, and
> you
> *mean* it to be transparent, but the program can't
> know it.
> That, or the program is a bit shit when it comes to
> 256
> colors, which is very much possible, as GIMP can be
> a bit
> of an arse when it comes to it too.
> 
> 
>
______________________________________________________________________
> This email has been scanned by the MessageLabs Email
> Security System.
> For more information please visit
> http://www.messagelabs.com/email 
>
______________________________________________________________________
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems?  Stop!  Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the 
> web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> --
>
https://lists.sourceforge.net/lists/listinfo/alleg-developers
> 



	


	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/