Re: [gtk-list] Re: Largest pixmap?



As the well known mcol@village.uunet.lu said...
->On Thu, Jun 17, 1999 at 11:06:24AM +0200, Emmanuel DELOGET wrote:
->> ->	- is there a limit to how large an image we can display?
->>     Since GTK+ uses the xpm lib, the only limit in processing xpm images
->>     should be the ones of libxpm. By having a look to the gtk source, I
->>     have not found any 
->
->from the imlib doc:
->Imlib can rescale an image to any size (limit 32767 x 32767 pixels)
	Which lead us to 2^15*2^15*(32/8) = 4GB in 32 bit mode...
	This is probably not a limit that you would reach one day :)

->probably this is only the limit for imlib's internal rendering
->and xpms can be above this size, but don't know.

	I'd like to add that the xpm reader of gtk/gdk is not
	imlib - it is (as far as I can see in the source) an 
	internal handler (you can check gdk/gdkpixmap.c).

	Yours,
->
->cumarc

-- 
__________________________________________________________________________
   Emmanuel DELOGET [pixel] pixel@{dotcom.fr,epita.fr}  ----  DotCom SA
         http://www.epita.fr/~pixel | http://www.dotcom.fr/~pixel
"On the last day, God created Linux. And Microsoft won its antitrust case"
--------------------------------------------------------------------------



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