[poppler] Performance of the wrappers

Albert Astals Cid aacid at kde.org
Sat Feb 18 04:22:06 PST 2006


A Divendres 17 Febrer 2006 09:45, Frank Meerkoetter va escriure:
> Hi,
>
> in the current CVS all wrappers are dead slow when copying the bitmap
> data of the finished pdf.
dead slow is a bit exagerated imho.

> The reason for this is that they no longer use 
> a memcpy but two nested getPixel()/setPixel() loops.
>
> The splash output mode "ModeRGB8" used to have 4 bytes and could be copied
> directly into a QPixmap or an QImage. Currently "ModeRGB8" uses
> 3 bytes and QT does not support 24bit Images or Pixmaps.
>
> I assumed we will need 32bit data in every case. So i tried other
> splash modes. ABGR8 worked strangly enough (i expected the colors would be
> wrong). The drawback with ABGR8 is that its implementation is incomplete
> (can't display images).
>
> What should be done? Implementing a mode RGB8A? Fixing ABGR8?
>
> Has anyone thought about how to solve this issue?

Yeah, but had not enough time to have a look, if you could fix it i'd do the 
"thank you a lot" dance

Albert

>
>
> Regards,
>   Frank
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

	
	
		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


More information about the poppler mailing list