Hello
Try to convert this jpg to tiff, 2 issues:
- Image Exif and Xmp data will not be saved in the resulting Tiff.
- Result image is rotated! Original image is not!
Thanks.
- Tested when saving as Tiff and Png, happened for both, seems applies to all formats.
IMG_8474.zip (6.1 MB)
@australian.dev.nerds , we will review the attachments and give a feedback shortly!
@australian.dev.nerds , I have tested your sample and found that metadata is exported correctly if you specify ImageOptionsBase.KeepMetadata or set ExifData/XmpData.
Take a look at topic.
1 Like
Hello and thanks, not completely, be kind and check the Authors and Copyright fields:
Untitled.jpg (157.1 KB)
@australian.dev.nerds , we will review the attachments and give a feedback shortly!
@australian.dev.nerds
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): IMAGINGNET-7281
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
1 Like
Hello
Is IMAGINGNET-7281 for both meta data transfer and image rotation when saved?
Thanks.
@australian.dev.nerds , excuse me for misunderstanding! One of missing ExifData items contains Orientation value, which is not transferred to output TIFF. So, yes it the output TIFF will be shown according to specified ExifData.Orientation value.
1 Like
Hello,
Are these 2 issues fixed in 24.8?
Thanks 
@australian.dev.nerds , fix for this issue is planned for 24.11 release.
Hello
Are those 2 issues in the above case get fixed in the 24.11 as said?
@australian.dev.nerds ,
Unfortunately, the opened ticket will be up for the first 25.02 release due to ongoing queue.
The issues you have found earlier (filed as IMAGINGNET-7281) have been fixed in this update. This message was posted using Bugs notification tool by samer.el-khatib
1 Like
Hello,
I just tested with 25.3 and no matter if I keep or dispose metadata when loading the above sample jpg and saving as tiff, the orientation is still changed incorrectly.
Note than choosing to keep or dispose all metadata should not remove the orientation tag.
Am I missing something?
Thanks.
@australian.dev.nerds , we will review your request and get back to you soon!
@australian.dev.nerds ,
Jpeg image format can store an orientation value inside Exif metadata, so here is a code example to keep Exif data on export:
var inputPath = @"C:\Users\Denis\Downloads\input.JPG";
var outputPath = inputPath + ".tiff";
int imageOrientation = 0;
using (var image = Image.Load(inputPath))
{
if (image is IHasExifData hasExif)
{
imageOrientation = (int)(hasExif.ExifData?.Orientation ?? 0);
}
image.Save(outputPath, new TiffOptions(TiffExpectedFormat.TiffJpegRgb)
{
KeepMetadata = true,
});
}
int outputOrientation = 0;
using (var image = Image.Load(outputPath) as TiffImage)
{
outputOrientation = (int)image.ActiveFrame.FrameOptions.Orientation;
}
Debug.Assert(imageOrientation == outputOrientation);
Hope this hepls!
Thanks but no, didn’t help 
The logic is incorrect, let me upload a sample project.
Dim MyImage As Aspose.Imaging.FileFormats.Jpeg.JpegImage = TryCast(Aspose.Imaging.Image.Load(MyFileStream, LoadOptions), Aspose.Imaging.FileFormats.Jpeg.JpegImage)
MyImage.Save(“D:\Bug2.TIFF”, TiffOptions)
This should simply work! But is not working as expected!
@australian.dev.nerds , please specify ImageOptionsBase.KeepMetadata or ExifData property explicitly. By default the image metadata is not exported. We will consider your request on exporting Exif orientation only in case.
Hello,
Not possible, not wise, not working!
Not working because even using ASPSaveSetTIF.KeepMetadata = True will not fix the problem
Not possible because one of the crucial features of conversion process is to fully remove all exif/metadata properties for privacy, this should not include the ones which have no private info / privacy concerns, and to exclude the ones like orientation which are part of the image properties indeed.
Not wise because if we need to remove all metadata/exif properties on save, there’s no way to have a correct output!
Thanks.