exif

Modify Exif tags in Java for mp4 videos

廉价感情. 提交于 2021-01-28 08:47:19
问题 Is there any API or library in Java available that will let me modify tags in the metadata for mp4 files? I need to modify the orientation (or rotation) tag in order to get videos to playback in the correction orientation. Something for Android would be preferrable. 回答1: Full disclosure: I'm the creator and maintainer of the mp4parser lib. Use http://mp4parser.googlecode.com for opening the MP4 file. Navigate to the exif box (I have never seen that box) and modify it. Then write the file back

Consistent binary data from images in Swift

拥有回忆 提交于 2021-01-27 16:06:16
问题 For a small project, I'm making an iOS app which should do two things: take a picture take a hash from the picture data (and print it to the xcode console) Then, I want to export the picture to my laptop and confirm the hash. I tried exporting via AirDrop, Photos.app, email and iCloud (Photos.app compresses the photo and iCloud transforms it into an .png ). Problem is, I can't repodruce the hash. This means that the exported picture differs from the picture in the app. There are some

Consistent binary data from images in Swift

瘦欲@ 提交于 2021-01-27 16:05:33
问题 For a small project, I'm making an iOS app which should do two things: take a picture take a hash from the picture data (and print it to the xcode console) Then, I want to export the picture to my laptop and confirm the hash. I tried exporting via AirDrop, Photos.app, email and iCloud (Photos.app compresses the photo and iCloud transforms it into an .png ). Problem is, I can't repodruce the hash. This means that the exported picture differs from the picture in the app. There are some

How to get an image's orientation information in android 10?

两盒软妹~` 提交于 2021-01-04 09:21:32
问题 Since android 10 there is some changes in accessing media files. After going through documentation https://developer.android.com/training/data-storage/shared/media i have been able to load the media content in to a bitmap, but i didn't get the orientation information. I know there is some restriction to the location information of the image, but does these exif restrictions also effect orientation information? If there is any other way to get an image's orientation information, please let me

using System.Drawing.Imaging; Imaging does not exist in the System.Drawing

≡放荡痞女 提交于 2020-06-28 03:50:41
问题 I am attempting to pull metadata from photos in a .Net Core App by using this library: https://www.codeproject.com/Articles/27242/ExifTagCollection-An-EXIF-metadata-extraction-libr However while implementing the ExifTagCollection class I am getting the Error listed in the title. I have successfully referenced System.Drawing but it is not recognizing its drawing extension. Any help would be great. Also open to suggestions for other libraries to accomplish my goal. Thx 回答1: If you take a look

using System.Drawing.Imaging; Imaging does not exist in the System.Drawing

百般思念 提交于 2020-06-28 03:50:11
问题 I am attempting to pull metadata from photos in a .Net Core App by using this library: https://www.codeproject.com/Articles/27242/ExifTagCollection-An-EXIF-metadata-extraction-libr However while implementing the ExifTagCollection class I am getting the Error listed in the title. I have successfully referenced System.Drawing but it is not recognizing its drawing extension. Any help would be great. Also open to suggestions for other libraries to accomplish my goal. Thx 回答1: If you take a look

How can I insert EXIF/other metadata into a JPEG stored in a memory buffer?

六眼飞鱼酱① 提交于 2020-06-25 05:13:49
问题 I have created a JPEG using Python OpenCV, EXIF data being lost in the process and apparently not being able to be re-added when calling imwrite (reference: Can't keep image exif data when editing it with opencv in python). Two questions: In general, how can I write the original EXIF data/new custom metadata into a JPEG that exists in memory rather than a file? Would pillow/PIL be able to maintain the EXIF data and allow supplementary metadata to be added? As of 2013 (reference: how maintain