Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
69 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 69

more...

Support us!

Headlines

Report message:*
 

Re: Odyssey 1.23 progress

Subject: Re: Odyssey 1.23 progress
by kas1e on 2020/3/11 16:22:18

@Petrol
Quote:

Do picture channels need to be swapped after all in the webp decoder engine?
In the png decoder code f.e., there's no line where it looks for the endianess like in webp.
Maybe it is done elsewhere in the component in chage of the render. Cairo format seems to be "ARGB" form the decoder sources.
Regards,


Tried firstly both versions of that output (for big/middle/little endians) - both suck.

Then as you remind that cairo format seems to be ARGB from decoder sources, then i just do:

inline WEBP_CSP_MODE outputMode(bool hasAlpha) { return hasAlpha ? MODE_Argb : MODE_ARGB; }

And:

(press open in new tab for fullsize)

Resized Image


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project