Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8497 1243 d 9 h dunkaist /programs/ kiv and libimg.asm: Follow asm style guide, no semantic changes.  
8463 1252 d 0 h IgorA /programs/develop/libraries/libs-dev/ libimg: can save 32 bit png  
8449 1254 d 16 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.
 
8408 1258 d 22 h IgorA /programs/ tinygl: add some double functions, add bcc32 example
libimg: small optimize
 
8399 1259 d 17 h dunkaist /programs/develop/libraries/libs-dev/libimg/png/ libimg: fix transparency in indexed png images.  
8395 1259 d 20 h dunkaist /programs/develop/libraries/libs-dev/libimg/ libimg: export img.resize_data  
8394 1259 d 21 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.
 
8363 1262 d 11 h leency /programs/ libimg: img.decode now checks that length is not null
WebView: img tag: proceed data-src= if src= is empty, fix crash
 
8341 1264 d 21 h dunkaist /programs/develop/libraries/libs-dev/libimg/ libimg: Add and export img.blend function  
7735 1541 d 1 h dunkaist /programs/develop/libraries/libs-dev/libimg/ libimg: tiff: Don't rely on EOI tag at the end of the strip.

Reference implementation (libtiff) has a workaround: precalculate data
size of the strip and don't rely on EOI tag of specific bit length.

This allow to read some invalid TIFF LZW images by my old scanner.
 
7523 2030 d 21 h dunkaist /programs/develop/libraries/libs-dev/libimg/bmp/ Libimg: Fix bug with 16-bit BMP padding.  
7279 2202 d 22 h IgorA /programs/develop/libraries/libs-dev/libimg/png/ libimg: fix save small png images  
7105 2398 d 17 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.
 
6891 2584 d 5 h IgorA / update docs sys function 54.1  
6888 2595 d 5 h IgorA /programs/ add filter 'paeth', fix in 'build_bl_tree'  
6883 2607 d 8 h IgorA /programs/ fix continue crc calculation in 'archiver.obj'  
6881 2612 d 20 h IgorA /programs/ small fixes  
6873 2639 d 19 h IgorA /programs/ fix calculation 'adler32',
other small fixes
 
6870 2643 d 20 h IgorA /programs/ fix r6860, small change in 'libimg.obj'  
6807 2711 d 15 h dunkaist /programs/develop/libraries/libs-dev/libimg/ img.scale and img.convert fix for multiframe images
new function: img.get_scaled_size
 

Show All