Subversion Repositories Kolibri OS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9713 799 d 16 h dunkaist /programs/develop/libraries/libs-dev/ libimg: Implement more bit depth conversion routines  
8449 1217 d 19 h dunkaist /programs/develop/libraries/libs-dev/libimg/ libimg: Improve support of transparent PNG images.

* Support grayscale images with alpha channel.
* Support rgb images with transparent color.
* Process 'tRNS' chunk (simple transparency).

Transparent png images were already supported for color type 6, which
is RGBA. Now indexed images (color type 3) can also have transparency
via 'tRNS' chunk data.
 
8394 1223 d 0 h dunkaist /programs/develop/libraries/libs-dev/libimg/ libimg: transparency fixes.

img.convert doesn't make opaque pixels transparent.
gif decoder considers palette pixels opaque.
 
7105 2361 d 19 h dunkaist /programs/develop/libraries/libs-dev/libimg/ libimg: add img.from_file, refactor img.convert.

Add new function, img.from_file: gets file name and returns decoded Image.
Make img.convert code less spaghetti: use jump table, not a chain of jmp's.
 
6807 2674 d 17 h dunkaist /programs/develop/libraries/libs-dev/libimg/ img.scale and img.convert fix for multiframe images
new function: img.get_scaled_size
 
3056 4170 d 1 h dunkaist /programs/develop/libraries/libs-dev/libimg/ add convert.asm (fix previous revision)