Mainly the vector graphics behave better in slides and typeset papers. I tried SVG as a middle ground but ran into trouble with typesetting the paper. Probably fixable with some effort.
Thatâs true. What I donât know is whether the Intel Julia packages under the hood call tools that wonât run on the M1 (such as imagemagick). Worth a try.
I know that but here you are having a specific raster needs.
GMT produces only postscript (vector graphics) but under hood we convert to more common formats (PDF by default or any other that ghostscript can convert). The CI testing system uses ImageMagic (and it works on Mâs too) to take a ground true ps and compare it to the tested one. To do it IM converts from PS to PNG and shows (and counts the amount of differences) those differences as pink pixels. Maybe you can use this idea for your comparisons.
So far Iâve never had the case that the Intel version didnât run, only ARM versions. Mostly tectonic which I remember now but a couple others as well. Might be worth a try. Supposedly itâs a bit slower, but for me that has not mattered, yet.
So you are saying I should give ImageMagick another try - it should work on the M1 mac? (Sorry if I misunderstand you suggestion; I am not sure what GMT refers to).
So far I am getting the libwand not defined error with ImageMagick.
If I cannot resolve it, @jules 's suggestion of running Intel Julia may be the solution.
Looks like poppler and cairo can work together on this, it could be really handy for CairoMakie to have an option to insert pdf files into figures (they would remain vector graphics which is desirable).
First, I donât want that this looks like a competition but GMT already has a mechanism to do this IF original figures are created in postscript (like those in GMT are). The image module lets do mosaics of eps and raster formats.
Iâve made a prototype work (without error checking or resource freeing) and with that one can freely plot existing PDFs into CairoMakie Figures. Whoever is motivated could turn that easily into a small CairoMakie extension package: