After a lot of study and practice, here is an outline of one procedure to prepare a PNG for autotrace to SVG that may be imported into MoI.
Documenting such procedures takes some time, and there may be a few minor steps omitted.
Older versions of Affnity may have minor menu differences. So watching old YouTube videos can be trying. Also there is a lot of terminology, and one word can have different meanings in different contexts.
1. Open Affinity Designer and load PNG file. The image shows up with White background pixels, and 6 color curves and graph axi and graph labels. (Only one color curve, plus graph axi and labels wil result in the final modified and Exported PNG, to assist and simplify future vectorization.) ("Behind" all of the pixel colors, is a checkerboad of the pixel locations, which will begin showing up as colors are deleted, or copied to new layer(s).)
2. Select "Pixel Persona".
- File > Persona > Pixel
- Or else click Pixel Persona icon, upper left corner of screen.
On the right hand side of the screen, below the color wheel, one Layer is shown, which initially has ALL of the Pixel information. Orange curve Selection and copy/paste will be used to create a new OrangeLayer. Pixel cleanup and copy/paste (or cut/paste) will be used to create a new GraphLabel layer.
The original Layer will be deleted, and the two new Layers exported to processed PNG.
The two Layers will NOT be exported to SVG, because such a SVG would be a pseudoSVG file, containing embedded pixel data, NOT vector data of a true SVG.
3. The original Layer is named "Background". Any layer may be renamed. Optionally, Duplicate the original Layer, as a backup. (This backup has lock icon)).
- On RHS of screen, right click the Layer and click "Duplicate."
- Select the non-locked Layer, by clicking on it.
(For practice learning, it would be simpler not to bother with the backup layer.)
4. Select the Orange curve, and copy it to a new Orange Layer.
- Make sure the sole original layer on Right, is active/selected (highlighted), by clicking on it, if necessary.
- Select > Select Sampled Color.
All colors get selected initially. A Tolerance popup box will appear on the screen. 15% seems to be a good value. Tolerance is the value of the color about to be picked, to include slight color variations.
- Adjust the Tolerance value to the desired value. If the Tolerance is too high, other colors may be added to the selection.
- Zoom way in, and click in the middle of the Orange curve band. The orange band is seleced
- Click "apply" in the Tolerance box.
- Right click on (layer or pixel screen) and select Cut or Copy.
- Right click on (layer or pixel screen) and select Paste.
ESC
A new Layer rectangle appears directly above the active layer, and contains the color band(s) selected.
Note that there is a "Toggle Visibility" button on each layer rectangle.
5. It is desirable to copy the Black axi and labels to their own Layer. To do this, it is necessary to edit out the Black curve ribbon, using Pixel Persona Tools, primarily the Lasso select tool, which works very well, with a small learning curve. (A little different that the MoI select method.) Then the steps of step 4 can be repeated with selection of Black axi/label, Tolerance, and Cut(Copy)/ Paste.
6. Clean up the two new layers, if there are a few undesirable pixel shades, with Lasso select.
7. Delete original Layer, and Duplicate, and Export the two new Layers to a new PNG. <<<END OF Affinity Design processing>>>
8. Perform AutoTrace with another program, with the new PNG as input image file.
Download the output to SVG file.
Autotrace programs:
SVG Trace, (Free, Online, works well.):
https://svgtrace.com/
Adobe Express, png-to-svg, (Free, Online, works well.):
https://adobe.com/express/feature/image/convert/png-to-svg
Vector Magic, ($, Online or Desktop):
There are several others.
Import the (true vector) SVG into MoI, for further processing.
- Brian
I still have to try out PhotoPea :-)