-
-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Milestone
Description
Magick.NET version
14.0.0
Environment (Operating system, version and so on)
Windows (but .Net 8 app)
Description
I am saving image in MagickFormat.Pdfa format. However online validators show that result pdf is not valid.
I am using this site to validate pdf results: https://xodo.com/validate-pdfa
Steps to Reproduce
Convert image to pdf by setting magickFormat.Pdfa
Simplified code:
// Loading image and adding to collection
var magickReadSettings = new MagickReadSettings();
using var image = new MagickImage("Path_to_file", magickReadSettings);
using var imagesCollection = new MagickImageCollection();
imagesCollection.Add(new MagickImage(image));
// Saving to PDF.
using var fileStream = File.Create(outputFile);
var magickFormat =MagickFormat.Pdfa; // Setting format PDF/A
imagesCollection.Write(fileStream, magickFormat);Images
Validation results:
Metadata
Metadata
Assignees
Labels
No labels
