How to Write Image Metadata in JDeli
How to write Metadata to an image in JDeli
JDeli makes it very simple to write supported Metadata values to specific Image formats
Here is an example for writing Exif to JPEG
JpegEncoderOptions jpegEncOps = new JpegEncoderOptions();
jpegEncOps.setExif(Exif exif);
JDeli.write(image, jpegEncOps, outputJPEGFile);
List of formats JDeli can write metadata to
BMP
No additional options are currently available for this format.
HEIC
No additional options are currently available for this format.
JPEG
Exif
This can be written out by using jpegEncoderOptions.setExif(Exif exif) and passing the options in when writing out
Accepted Values
null or an instance of Exif
JPEG 2000
No additional options are currently available for this format.
PNG
Exif
This can be written out by using pngEncoderOptions.setExif(Exif exif) and passing the options in when writing out
Accepted Values
null or an instance of Exif
TIFF
No additional options are currently available for this format.
WEBP
Exif
This can be written out by using webpEncoderOptions.setExif(Exif exif) and passing the options in when writing out
Accepted Values
null or an instance of Exif