lwip icon indicating copy to clipboard operation
lwip copied to clipboard

Detect image type from buffer

Open StevenThuriot opened this issue 10 years ago • 5 comments

As discussed in EyalAr/lwip#87 . Please let me know if you feel like some parts need improvement. I'll be happy to make the needed adjustments.

StevenThuriot avatar Dec 27 '14 15:12 StevenThuriot

Coverage Status

Coverage decreased (-0.16%) when pulling d350eda317ecf99bf236d54e9c67f99696e6ba11 on StevenThuriot:master into d5602e3bf02d958deafe96058ca5f7b5520df495 on EyalAr:master.

coveralls avatar Dec 27 '14 15:12 coveralls

@StevenThuriot thanks! I'm currently travelling; I'll give it a thorough look when I get back in a few days.

EyalAr avatar Dec 28 '14 09:12 EyalAr

@StevenThuriot Haven't forgotten about this PR, just have been a bit busy recently. Hope I can take a look this week.

EyalAr avatar Jan 25 '15 10:01 EyalAr

No problem, take your time :relaxed:

StevenThuriot avatar Jan 26 '15 08:01 StevenThuriot

Some times the images has wrong extension because the users or systems change the extension when some application can’t open the image. So I add code to solve that problems. For example, one image can to finish with .jpg but the image encode is png, now the library throw an error because just reviews the extension and not the encode. To solve I had used image-type lib and some modifications on the code of obtain.js

I can't to send my changed.

MAMISHO avatar Jul 08 '16 09:07 MAMISHO