Re: How do they do that?!?



On 15 Mar, Miles Lane scribbled:
->  > actualyl using a larger pixmap woudl use the same memry as the gradient
->  > is turned intoa pixmap - if thre original image is bigger or smaller
->  > the pixmap uses the same amount of ram - if the gradient is generated
->  > by code the pixmap still uses the same amount of ram...
->  
->  Is there a reason that generating gradients mathematically isn't 
->  used instead?  Wouldn't is be faster and less grainy?

not faster than just scaling a reasonable sized image (64x64) and less
versatile - grainyness often is due to etiehr 1. low res original, or
2. 15/16bpp OR no dithering in 15/16bpp.

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenment   http://www.rasterman.com/

              \|/ ____ \|/  For those of you unaware. This face here is in fact
	      "@'/ ,. \@"   a Linux Kernel Error Message.
	      /_| \__/ |_\
		 \__U_/
							   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]