Can someone confirm something I’m seeing in the Example Application (Examples/Graphics/Saving and Loading Vector Graphics)
When running the example on my M1 Mac a simple SVG file loads perfectly fine. However when I run the same Example Application on my Intel Mac it fails to display anything.
The M1 Mac where the openvector is working is running Ventura.
The Intel Mac where the openvector is not working is running Monterey.
I’m trying to work out if it is a Monterey issue or a Intel v AppleSilicon issue.
.pict files seem to be working fine so I’m more than able to use instead… SVG’s are so much nicer for what I’m doing however.
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
<rect x="40" y="30" width="150" height="150" rx="20"
style="fill:#ff0000; stroke:#000000;stroke-width:2px;" />
<rect x="70" y="60" width="150" height="150" rx="40"
style="fill:#0000ff; stroke:#000000; stroke-width:2px;
I guess is a Monterey issue.
This is misleading and let people believe ypu used a .pict (extension) file.
PICT files are deprecated on macOS since… years ago (they were usually - but not always - vector images).
In your case, please use .svg (if I understand correctly this thread):
Finder icon of the image created using Alberto definition text (above) saved with TextEdit with a .svg extension.
I wish to use SVG’s they are not however loading/rendering on MacOS Monterey.
myPicture = myPicture.Openvector(file.svg [as a folderitem]) returns Nil when ran on MacOS Monterey.
My mentioning of .pict was just me stating a workaround for the time-being.
Both MBS & Einhuger have plugins that can rasterise SVGs into a picture.