Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Right now the image looses all meta data (EXIF)
Hi, thank you for feedback.
I have created a ticket to investigate it, but I believe issue happens on a TinyPNG side.
I will notify you here when getting more info.
Could you provide the sample of images? It looks like default metadata is preserved.
Here are 2 links:
Not Tinified: https://idoconcerts.com/media/2851/20171125-velvet-volume-15-voxhall_edit.jpg
If I try to get EXIF data on link number 2 I get a YSOD saying Sequence contains no elements
Sequence contains no elements
But if I do the same on link number 1 everything is dandy.
This is my code:
System.Drawing.Image media = new Bitmap(Server.MapPath(MediaHelper.GetMediaUrl(element.Cover)));
PropertyItem propItems = media.PropertyItems;
string captureTime = System.Text.Encoding.ASCII.GetString(propItems.Where(x => x.Id.ToString("x") == "9003").First().Value);
It's the last line that fails.
We really lose metadata on after TinyPNG API request, it will be fixed in 1.4 version which will be released in 1.5 - 2 weeks. On the settings tab, you will be able to switch on/off "preserve metadata" setting. Does it resolve your issue?
Thanks for a great finding!
I believe it does.
Looking forward for the update.
We have resolved your request by adding an option to the Settings tab which is "False" by default.
New release will be in the next week
That's great news.
I'm looking forward to the release
We released a new version where your issue is resolved.
Have a nice day.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted