Forum Discussion
EnTerr
9 years agoRoku Guru
Bump!
Any update on this one, Roku*?
Probably best to add a roBitmap (ifDraw2D formally and better) method saveAsPNG(filePath as String) as Boolean
PNG because of faster compression and preserving transparency. And btw does not have to bother compressing, since main intent is this being loadable by ro- and sg-components. I believe Roku already uses libpng, so implementing this would be 1 man-day's work. Set compression to 0, just RGBA (no grayscale, no indexed, no palettes), no interlacing, no troubles - it's about avoiding temptation of feature creep and "just do it". Optional parameters can always be added some other year.
A code even be written from scratch with sole purpose of quickly writing uncompressed PNG (see http://stackoverflow.com/a/8113783/226086 for format discussion, it's about avoiding filtering and generating 'deflate' in store-mode) - and somebody i remember did it years ago in B/S - but it was way, way too slow to use.
Any update on this one, Roku*?
Probably best to add a roBitmap (ifDraw2D formally and better) method saveAsPNG(filePath as String) as Boolean
PNG because of faster compression and preserving transparency. And btw does not have to bother compressing, since main intent is this being loadable by ro- and sg-components. I believe Roku already uses libpng, so implementing this would be 1 man-day's work. Set compression to 0, just RGBA (no grayscale, no indexed, no palettes), no interlacing, no troubles - it's about avoiding temptation of feature creep and "just do it". Optional parameters can always be added some other year.
A code even be written from scratch with sole purpose of quickly writing uncompressed PNG (see http://stackoverflow.com/a/8113783/226086 for format discussion, it's about avoiding filtering and generating 'deflate' in store-mode) - and somebody i remember did it years ago in B/S - but it was way, way too slow to use.
Related Content
- 12 months ago
- 9 months ago
- 2 years ago