Open pozar87 opened 8 years ago
What do you think @Gregwar?
Preserving meta is indeed a good thing Not sure the best way to achieve this though
I think this should be proposed as an option and this option should be false
by default for BC.
Indeed, metadata reset could be a good thing for some developers. So if we preserve it without warn them, this would be annoying.
Hello, Yes, I was also wondering about BC - and additional option seems good.
Currently I solved my problem generation thumbnails with imagemagic - and it also strip all metadata (if you would like to keep orientation -auto-orient option beefer -thumbnail)
So after a second thought it seems miniatures should not have all original metadata (some are simply wrong for a minature context, while the other could be undesirable for a security reasons - i.e. geo-location), but orientation still looks like a necessary thing.
Just food for thoughts.
Best Regards,
I agree that this should be an option
(There is also some issues, like what will happen if you use merge()
methods or so)
It would be nice to keep the EXIF information (especially what device the photo was originally taken with, geolocation etc). However if you edited the image with resize or other operations, some EXIF information won't make much sense anymore and could be misleading.
The fact that the color profile is stripped out can cause processed images to display weirdly in different browsers (see this SO answer). It looks like this indeed is due to a bad default in the underlying GD library, but it would be great if at least the color space was preserved in the metadata - to prevent from washed out colors in the resulting image!
Hello, Im not yet quite sure if this is a bug or project decision but It looks like images metadata are lost in a process of resize. The generated miniature jpeg file have a very limited data set. For instance:
while miniature has only:
I'm not saying all meta-data should be available, but having Orientation : Rotate 90 CW would make life a bit easier. In particular I would like to use CSS on my gallery page:
and simply not bother changing orientation of images before I put them into a gallery. Anyway, keep on your good work on this project!
Best Regards,