-
-
Notifications
You must be signed in to change notification settings - Fork 888
Description
Prerequisites
- I have written a descriptive issue title
- I have verified that I am running the latest version of ImageSharp
- I have verified if the problem exist in both
DEBUG
andRELEASE
mode - I have searched open and closed issues to ensure it has not already been reported
ImageSharp version
2.1.3
Other ImageSharp packages and versions
SixLabors.ImageSharp 2.1.3, SixLabors.ImageSharp.Drawing 1.0.0-beta14, SixLabors.Fonts 1.0.0-beta17
Environment (Operating system, version and so on)
Windows Server 2019 Standard 1809
.NET Framework version
.Net 6.0, .Net Framework 4.8
Description
Tiff files created by ImageSharp are not recognized by Adobe Premiere Pro on any try of import.
If you try to import a tiff file an error will pop up: "The file cannot be opened because of a header error"
If you take a tiff file created by ImageSharp, open it with Paint or Adobe Photoshop and save it without any changes, choosing TIFF format, Importing files to Premiere Pro becomes possible.
It seems there is an issue, when encoding the tiff image by ImageSharp since other software can save the image in format properly. I could not find any differences in metadata that would indicate which parameter is invalid.
Steps to Reproduce
using Image<Rgba32> image = new(1920, 1080);
using MemoryStream stream = new();
image.SaveAsTiff(output);