Inkscape.org
Beginners' Questions Creating a SVG in Tiny Portable/Secure format for use with BIMI records
  1. #1
    Mike Robinson Mike Robinson @deadduck169

    I am trying to create a BIMI record for my domain. The SVG image the BIMI record points to must be in a specific format. This format is based on the SVG Tiny 1.2 format specified by the W3C, with fewer allowed elements. The version supported by BIMI has been defined as SVG Tiny Portable/Secure (SVG P/S). When I try to validate my domain's BIMI record it fails because the SVG format inkscape outputs as SVG 1.1. The only way I could figure out how to convert it to SVG P/S was to tediously edit the file manually. Is there any way to output directly in SVG P/S or at least SVG Tiny 1.2 directly from Inkscape? I know Illustrator has the ability to save in SVG Tiny 1.2, but I couldn't find this feature in Inkscape.

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I can't help much, but find it interesting that the code example they show is an Inkscape file after processing in Illustrator.

    I'd look into modifying the document manually, but using tools to find/replace across documents.

  3. #3
    hans-mayer hans-mayer @hans-mayer

    Hi Mike, 

    before you save the image press "document properties" and set the title in the metadata tab. 

    save the image as "optimized SVG".  A popup window appears. in "SVG output" tab select "remove metadata" and press OK. 

    Before you can use this image you have to change version and add baseProfile. If you are using Linux or a Mac you can to this with the following "sed" command: 

    sed -e 's/version="1.1"/version="1.2" baseProfile="tiny-ps"/'  

    My environment: I am using Inkscape 1.0.2 on Mac 

    // Hans 

  4. #4
    Mike Robinson Mike Robinson @deadduck169

    @hans-mayer Thank you for the reply. This post is several months old, but I ended up just editing things manually. It took a while though. Hopefully your post helps future visitors.

  5. #5
    Ian Kirk Ian Kirk @nazarene.digital

    Just found this post. Glad it was here!

    There is now a tool on GitHub to do this, which I discovered as part of the same search that lead me here.

     

    https://github.com/authindicators/svg-ps-converters

  6. #6
    Martin Owens Martin Owens @doctormo🌹🧀
    👍

    This seems really awkward, the process for creating svg tiny is pretty easy and could (and should) just be a python script we ship with Inkscape.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Creating a SVG in Tiny Portable/Secure format for use with BIMI records