google / brunsli

Practical JPEG Repacker
MIT License
730 stars 51 forks source link

please support truncated jpeg image #35

Open mychaow opened 5 years ago

eustas commented 5 years ago

What does "truncated" mean? Could you attach example, please.

mychaow commented 5 years ago

sorry, it's my fault! For example, if I has a large jpeg image, I have to store it in two place, so I need truncate it to two parts. First part has jpeg header, the second does not. I want to compress the first part when the end of file is in any position of the scans. It's much pleasure to compress the second part by copying the jpeg header from first part if could.

mychaow commented 5 years ago

t_test

like this image, it's truncated in random position.

mychaow commented 5 years ago

@eustas