Comments (1)
It should be trivial/automatic:
12.3.1.1. Embedding manifests into JPEG
The C2PA Manifest Store shall be embedded as the data contained in an APP11 Marker as defined in JPEG XT, ISO/IEC 18477-3.
Since a single marker segment in JPEG 1 cannot be larger than 64K bytes, it is likely that multiple APP11 segments will be required, and they shall be constructed as per the JPEG 1 standard and ISO 19566-5, D.2. When writing multiple segments, they shall be written in sequential order, and they shall be contiguous (i.e., one segment immediately following the next).
12.3.1.2. Embedding manifests into PNG
The C2PA Manifest Store shall be embedded using an ancillary, private, not safe to copy, chunk type of 'caBX' (as per PNG, 4.7.2). It is recommended that the 'caBX' chuck precede the 'IDAT' chunks.
Although PNG supports it, it’s considered bad-form to have a data block after the 'IDAT' and before the 'IEND'. (The exception being animated PNG blocks)12.3.1.3. Embedding manifests into SVG
SVG is an XML-based format that can exist either stand-alone or embedded into other text-based formats such as HTML. As such, it is necessary to Base64 encode the binary C2PA Manifest Store to perform the embedding. While this section describes how to do that, the use of an external manifest is preferred.
The C2PA Manifest Store shall be embedded as the Base64-encoded value of a c2pa:manifest element in the metadata element of the SVG.
An example might look like this (with the actual C2PA Manifest’s data left out)
<?xml version="1.0" standalone="yes"?> <svg width="4in" height="3in" version="1.1" xmlns = 'http://www.w3.org/2000/svg'> <metadata> <c2pa:manifest>...Base64 data goes here...</c2pa:manifest> </metadata> </svg>
from imageoptim.
Related Issues (20)
- Photos lost after compression completes HOT 6
- Incompatible with Mac OSX Sonoma 14.0 HOT 1
- 1.9.1 crash Sonoma HOT 4
- 1.9.2 Right clic problem HOT 8
- Window does not appear until after images are processed HOT 1
- Too much window transparency HOT 7
- Possible GPU support?
- Should Guetzli and JPEGtran be added to the About ImageOptim screen? HOT 1
- Strips away jpeg Apple-Photos location data
- Finder extension doesn't work after latest update HOT 1
- Can I ignore already compressed? HOT 1
- Images disappearing after compression while resident in Dropbox after update HOT 4
- Optimise HEIC HOT 2
- Issue Solved for your information on last release 1.9.3 HOT 1
- Optimizing jpegs takes much longer than previous versions HOT 1
- Bug in the settings - German translation HOT 1
- CLI doesn't start with hidden UI HOT 1
- Add support for Jpegli HOT 1
- Add option to run optimizers at reduced CPU priority
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageoptim.