Parcourir la source

fcl-image: fpreadtiff:
Issue #33668, patch from circular
- fix bug with alpha channel with RGB images
- fix for Predictor 2 (using horizontal difference)
- fix for LZW to handle case when end of stream code is omitted
- fix crash by LZW allocating tons of memory
- optimized LZW decompression by avoiding lots of small memory allocations
- handle paletted image (colormap)
- handle 4 bit samples
- handle rotation (when x/y are flipped)
- handle premultiplied RGB values
- handle fill order (bits from low to high) for 1 bit images
- fix code for extra channels (rare case though)
- accepts 1 bit, 4 bit, 8 bit, 12 bit and 16 bit samples for any channel
- avoid using global variable IFD

git-svn-id: trunk@38879 -

Mattias Gaertner il y a 7 ans
Parent
commit
293ff51025
1 fichiers modifiés avec 379 ajouts et 342 suppressions
  1. 379 342
      packages/fcl-image/src/fpreadtiff.pas

Fichier diff supprimé car celui-ci est trop grand
+ 379 - 342
packages/fcl-image/src/fpreadtiff.pas


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff