FLIF icon indicating copy to clipboard operation
FLIF copied to clipboard

decoding cut file does a sigfault

Open RubenKelevra opened this issue 7 years ago • 0 comments

I cut a flif file - which decoded fine - down to around 5 % of the original filesize with dd:

dd if=Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR.flif of=Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR_cut5.flif bs=1 count=740449

After this I tried to decode the flif with --fit parameter, which leads to an empty output file:

$ flif -d --fit=500x284 Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR_cut5.flif Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR_cut5.png
libpng error: known incorrect sRGB profile
Abgebrochen (Speicherabzug geschrieben)

I tried it again without the --fit parameter:

$ flif -d Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR_cut5.flif Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR_cut5.png
Row 387: Unexpected file end. Interpolation from now on.
File ended prematurely or decoding was interrupted.
libpng error: known incorrect sRGB profile
Abgebrochen (Speicherabzug geschrieben)

Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR.zip Estación_Central,_Berlín,_Alemania,_2016-04-21,_DD_43-45_HDR.zip

Isn't this expected to work or am I holding it wrong?

Uncut: https://drive.google.com/file/d/1sXvZQh9FucrU5W89Pwyk2Dq_Mku0JamG/view?usp=sharing Cut version: https://drive.google.com/open?id=1f2ZhxQeAGsvhD4TMPJZolCzyEQESoTNe

RubenKelevra avatar Dec 11 '17 11:12 RubenKelevra