FAQ Database Discussion Community


Java extract colorSpace and PCS from ICC_Profile to verify the integrety of an image

java,image,colors,metadata,exif
First (I forgot to say I'm new to java and it's my first post here, so if I make some mistakes, pls correct me ;) ) I got the problem, that I got a lot of images. Between these images are some which are corruped (e.g. a picture with ICC-Profile...

iOS - Uploading image with EXIF intact

ios,objective-c,iphone,xcode,exif
I have images saved in my application Documents directory in .jpg format with EXIF data. My problem is, whenever I try to convert the .jpg files into NSData to be uploaded using HTTP POST, the uploaded image loses all its EXIF data. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsPath...

Add metadata (Exif) to base64

javascript,canvas,upload,exif
I'm trying to reduce images in client side before uploading them to preserve users' bandwidth and storage space in server side, while keeping informations about the original shot. Current process flow : fileReader -> canvas (drawImage) -> base64 -> XMLHttpRequest (to get progress) -> php server One drawback of this...

Increment Serial Number using EXIF

windows,powershell,command-line,exif,exiftool
I am using ExifTool to change the camera body serial number to be a unique serial number for each image in a group of images numbering several hundred. The camera body serial number is being used as a second place, in addition to where the serial number for the image...

Writing GPS data in a simple image file WITH NO PREVIOUS GPS data in it

c#,image,gps,metadata,exif
-> C# I want to write (and read afterward) a GPS data in an image with no GPS data already present in it! I know this question is everywhere on internet but they didn't tell you how to write specifically in an image with EMPTY GPS information. If you are...

exiftool rename photos with camera model and date

bash,shell,camera,exif,exiftool
I have been sorting my family photos, including some from a recovered backup drive my dad had. many of the photos were named file000268.jpg etc so I looked into renaming utilities, and ended up going with exiftool because I can use it in the shell and write scripts based around...

Photo framework: save exif data from picker (aperture, focal length, shutter speed, …)

ios,swift,metadata,uiimagepickercontroller,exif
I'm trying to do the equivalent of writeImageToSavedPhotosAlbum with the new Photo framework. To save the image, I only do this: func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [NSObject : AnyObject]) { let image = info[UIImagePickerControllerOriginalImage] as UIImage PHPhotoLibrary.sharedPhotoLibrary().performChanges({ () -> Void in let changeRequest = PHAssetChangeRequest.creationRequestForAssetFromImage(image) }, completionHandler: { (success, error)...

How to apply EXIF orientation

javascript,jquery,html,exif
I noticed that it's not every browser that apply the EXIF orientation. Chrome on my mobile doesn't apply the EXIF orientation but Safari mobile does. So since it's not standard, how can I apply the EXIF orientation without applying twice on Safari? Also I was wondering if it's possible to...

EXIF (or other meta-data) data that Windows displays but PHP does not

php,exif
I am working to pull some information from JPEGs supplied to my client by a photographer. When examined under Windows all of the images contain data in a field called Tags: To do some testing first I made the following script and am iterating over entries in the binary file...