Yesterday I installed TeXLive 2019 on my Mac using MacTeX 2019. I am working quite a lot with asymptote
, so I was surprised, that asy
seemed to have stopped working. No error message, but also no resulting png
(I like png
s).
Today I found out that for any .asy
the command asy -f png myFile.asy
perfectly produces a png in a quite bad resolution, as does asy -f png -render 0 myFile.asy
(well, 0
is the default). But any value larger than 0 results in no png being created.
My preferred setting would be 4 or even 5. Can somebody confirm, that for now it stopped working? What did change in asymptote (or the converter used to get from .eps
to .png
) that made it stop working and how can I get that back?
Edit: To also provide an example, let's just draw two arrows
import settings;
import three;
size(7cm);
DefaultHead.size=new real(pen p=currentpen) {return 1.8mm;};
currentprojection=perspective( camera = (0.0, 0.0, 4.0), up=Y, target = (0.0, 0.0, 0.0) );
draw( (0.0, 0.0, 0.0)--(0.7071, 0.7071, 0.0), rgb(0.565, 0.128,0.550), Arrow3);
draw( (1.0, 0.0, 0.0)--(1.6, 0.7071, 0.0), rgb(0.128,0.565,0.550), Arrow3);
Then
asy example.asy
produces a niceeps
asy -f png example.asy
produces a quite low res png (since 2019 with transparent background)asy -f png -render 1 example.asy
does not give an error, but neither produces a file, the same for setting render to 2,3,4 or 5.- as marmot suggested I also tried putting
settings.render=4;
into the file, which has the same effect as the last try with-render
(so at least its consistently broken).
settings.render=4;
to the asy file.convert
, available for all platforms, which has tons of options (also for transparency etc.).asy
works again.