Browse 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 7 years ago
parent
commit
293ff51025
1 changed files with 379 additions and 342 deletions
  1. 379 342
      packages/fcl-image/src/fpreadtiff.pas

File diff suppressed because it is too large
+ 379 - 342
packages/fcl-image/src/fpreadtiff.pas


Some files were not shown because too many files changed in this diff