fpreadgif: r40995 broke paletted GIF reading
Original Reporter info from Mantis: AntonK
-
Reporter name: Anton Kavalenka
Original Reporter info from Mantis: AntonK
- Reporter name: Anton Kavalenka
Description:
Attached slightly modified test from fcl-image/examples/imgconv.pp
Patch attached which reverts r40995 changes.
Assumption that current stream pos is outside of stream is simply wrong, because
stream analysis returns to the previously stored OldPos
Stream.Position:=OldPos;
Steps to reproduce:
try to run
./imgconv G image.gif PI image.png
Mantis conversion info:
- Mantis ID: 35134
- Platform: x86-64-linux
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 41409 (#fe505c12)
- Target version: 3.2.0