Create image metadata stripping out jpeg EXIF header
Options
We're using the "Create Image Metadata" block, and we're seeing that it is stripping out the jpeg EXIF headers. Specifically, some of our jpegs include a 90 degree rotation flag. This is lost. As a result, the images in Xano are not oriented correctly. In addition, Xano is stripping out the GPS location and other metadata saved with the image. Is there any way to instruct Xano to keep this metadata?
Thanks!
Thanks!
Comments
-
can you upload an original image here so we can test?
-
Sure thing! Here you go.
https://adalo-uploads.imgix.net/026b9b49d61f2fc14e46c20c6cb7c3ac6b09288f8e674cf01892b60734b62e5c.jpg
[026b9b49d61f2fc14e46c20c6cb7c3ac6b09288f8e674cf01892b60734b62e5c.jpeg]
Also, I've included the exiftool output below. Notice specifically the Orientation field.
$ exiftool 026b9b49d61f2fc14e46c20c6cb7c3ac6b09288f8e674cf01892b60734b62e5c.jpeg
ExifTool Version Number : 12.30
File Name : 026b9b49d61f2fc14e46c20c6cb7c3ac6b09288f8e674cf01892b60734b62e5c.jpeg
Directory : .
File Size : 1865 KiB
File Modification Date/Time : 2022:01:19 11:10:38+05:30
File Access Date/Time : 2022:01:19 19:51:09+05:30
File Inode Change Date/Time : 2022:01:19 19:50:37+05:30
File Permissions : -rw-r--r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : None
X Resolution : 72
Y Resolution : 72
Exif Byte Order : Big-endian (Motorola, MM)
Orientation : Rotate 90 CW
Color Space : Uncalibrated
Exif Image Width : 4032
Exif Image Height : 3024
Current IPTC Digest : d41d8cd98f00b204e9800998ecf8427e
IPTC Digest : d41d8cd98f00b204e9800998ecf8427e
Profile CMM Type : Apple Computer Inc.
Profile Version : 4.0.0
Profile Class : Display Device Profile
Color Space Data : RGB
Profile Connection Space : XYZ
Profile Date Time : 2017:07:07 13:22:32
Profile File Signature : acsp
Primary Platform : Apple Computer Inc.
CMM Flags : Not Embedded, Independent
Device Manufacturer : Apple Computer Inc.
Device Model :
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Perceptual
Connection Space Illuminant : 0.9642 1 0.82491
Profile Creator : Apple Computer Inc.
Profile ID : ca1a9582257f104d389913d5d1ea1582
Profile Description : Display P3
Profile Copyright : Copyright Apple Inc., 2017
Media White Point : 0.95045 1 1.08905
Red Matrix Column : 0.51512 0.2412 -0.00105
Green Matrix Column : 0.29198 0.69225 0.04189
Blue Matrix Column : 0.1571 0.06657 0.78407
Red Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Chromatic Adaptation : 1.04788 0.02292 -0.0502 0.02959 0.99048 -0.01706 -0.00923 0.01508 0.75168
Blue Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Green Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Image Width : 4032
Image Height : 3024
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 4032x3024
Megapixels : 12.2 -
@Sean Montgomery Did you happen to find a solution or have a recommendation here? I'm trying to build an app that requires an uploaded images metadata as well. I also noticed that when uploading an image with full metadata into Xano much of the metadata was removed after downloading the image from Xano. Is there a way to maintain the metadata? Thanks!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback