humanmade / tachyon

Faster than light image resizing service that runs on AWS. Super simple to set up, highly available and very performant.

Home Page:https://engineering.hmn.md/projects/tachyon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all PNGs get converted

pkozlowskifinder opened this issue · comments

While trying to optimize this particular png with ?fit=100 or ?w=100 or ?webp=1 Tachyon throws an error (probably from sharp)
Error: Input buffer contains unsupported image format and the image that is returned is not changed.

If there is something wrong with this particular png not Tachyon itself, could yout point what exactly?

fmp_SIMonlyNano

Do you have any info on how the image was made? What program it was saved from or anything like that?

Hey @roborourke , thanks for swift reply.
We did check but the person who uploaded no longer works with us and we don't know.
Do you know if we can check it somehow? Do you have a clue what could that image could have been?

@gregdawidko sorry for the long delay in following up here. I basically had no success reproducing the problem or understanding the root cause. It might possibly have been related to the fix in this PR #110 - some devices could create faulty image data. Normally sharp would just throw an error back but the update means it'll do its best. Hopefully 2.3.2 solves the problem anyway.

I think #110 solves this problem so closing out. We can reopen if that's not the whole problem