Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG without XML tag and why it should be put in to PRONOM with a PUID #82

Open
sobhanpiql opened this issue Sep 4, 2024 · 0 comments
Open

Comments

@sobhanpiql
Copy link

I have some SVG files that has the signature 3C 73 at the start, there is no PUID for that signature, so it wont show any information and gives 0 on "Ids". At first I thought it was something wrong with my file, but the file is fine and I got many other files as this one. This SVG has basically been converted to JSX code format, but the SVG file and layout is still the same.

Here is an example of what a SVG file looks like when it is converted to JSX format:

<svg height="19" width="19" fill="none" viewBox="0 0 19 19" xmlns="http://www.w3.org/2000/svg"> <g id="Google logo"> <g clipPath="url(#clip0_2378_1327)"> <path id="Vector" d="M18.1739 9.71051C18.1739 8.93164 18.1121 8.36326 17.9782 7.77385H9.27241V11.2893H14.3825C14.2795 12.1629 13.7232 13.4786 12.4868 14.3627L12.4695 14.4804L15.2221 16.6589L15.4128 16.6783C17.1642 15.0258 18.1739 12.5944 18.1739 9.71051Z" fill="#4285F4"/> <path id="Vector_2" d="M9.2724 18.9729C11.7759 18.9729 13.8776 18.1308 15.4128 16.6783L12.4868 14.3627C11.7038 14.9205 10.6529 15.31 9.2724 15.31C6.82038 15.31 4.73926 13.6575 3.99739 11.3735L3.88865 11.383L1.02646 13.6459L0.989029 13.7522C2.51381 16.8467 5.64583 18.9729 9.2724 18.9729Z" fill="#34A853"/> <path id="Vector_3" d="M3.9974 11.3735C3.80165 10.7841 3.68836 10.1525 3.68836 9.50001C3.68836 8.84739 3.80165 8.21589 3.9871 7.62648L3.98191 7.50095L1.08385 5.20163L0.989033 5.24771C0.360597 6.53182 0 7.97383 0 9.50001C0 11.0262 0.360597 12.4681 0.989033 13.7522L3.9974 11.3735Z" fill="#FBBC05"/> <path id="Vector_4" d="M9.2724 3.68996C11.0135 3.68996 12.188 4.45831 12.8577 5.1004L15.4746 2.49009C13.8674 0.96391 11.7759 0.0271454 9.2724 0.0271454C5.64583 0.0271454 2.51381 2.15326 0.989029 5.2477L3.98709 7.62647C4.73926 5.34247 6.82038 3.68996 9.2724 3.68996Z" fill="#EB4335"/> </g> </g> <defs> <clipPath id="clip0_2378_1327"> <rect height="19" width="18.1739" fill="white" rx="9.08696"/> </clipPath> </defs> </svg>

Here is some screenshot with more information about the SVG:

image

image

To compare, here is screenshot of SVG hex numbers with XML start-tag (3C 3F & PUID: fmt/92):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant