You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to convert heif images (taken with iPhone 15 pro) to jpg format, we get an error Invalid input: Unspecified: Metadata not correctly assigned to image
Code snippet which throw an exception
private static async Task<Stream> EditImageInMemoryAsync(Stream orignalImage, Action<IImageProcessingContext> opereation, IImageFormat format)
{
var modifiedImage = new MemoryStream();
using var image = await Image.LoadAsync(orignalImage);
image.Mutate(opereation);
image.Save(modifiedImage, format);
modifiedImage.Position = 0;
orignalImage.Position = 0;
return modifiedImage;
}
When trying to convert heif images (taken with iPhone 15 pro) to jpg format, we get an error
Invalid input: Unspecified: Metadata not correctly assigned to image
Code snippet which throw an exception
Similar issue were fixed in this package.
bad-images.zip - zip file with images. With these images we get an error.
The text was updated successfully, but these errors were encountered: