import settings; interactiveView=false; batchView=false;in their
config.asy
file. See http://asymptote.sourceforge.net/doc/Options.html.
asy -f jpg test.asy
label(graphic("file"),(0,0));See the example http://asymptote.sourceforge.net/gallery/orthocenter.asy and http://asymptote.sourceforge.net/doc/label.html.
convert -geometry 1000x3000 example.eps example.pngshould give you the number of pixels you are looking for.
You can also change the default resolution of the image with:
convert -geometry 1000x3000 -density 300 -units PixelsPerInch example.eps example.pngThis does not change the number of pixels in the image, but just gives a hint as to how large each pixel should be displayed.
If you include the -density option without the -geometry option, convert will keep the image size constant (so a 4cm x 3cm eps figure will generate a 4cm x 3cm png image).
slide.asy
package to produce high-quality slide presentations
(easier to use than Prosper).
LocalWords: brieftitle href copyto endcopy faq whatisasy MetaPost Gouraud sep LocalWords: colourspaces PostScript whereisasy MacOS docref RedHat Debian osx LocalWords: beforeasking whyasy whycamp readline Schamschula osxbadCPU lgccpp LocalWords: nogccpp gc Boehm nov brokenpdftex pdfetex pdftex cfg config qref LocalWords: brokentexinfo texinfo arounds latexintegration latexusage tex EPS LocalWords: Teixeira Ivaldi lasy pdflatex PDF inline endverbatim tkinter xasy LocalWords: tkinterdepend Uvh nodeps windir USERPROFILE winglobal popup XP PQ LocalWords: MSDOS miktex MikTex dvips texmf exe tensionsyntax greek pq LocalWords: dotfactor prepending matlabels usepackage amsmath latexpackage LocalWords: mathptmx internatfonts jul fourier textfamilyextension decsep pic LocalWords: lineargraph rotatelabel fixedsize colorssaturation colour NoFill LocalWords: doublearrows filltype arrowangle FillDraw EndPoint NoMargin xaxis LocalWords: reversearrow arrowsize axisticks RightTicks yaxis LeftTicks rgval LocalWords: threeaxispens xlimits ylimits MidPoint axislabelfont beginlabel LocalWords: axisticklabelfont overlappingticklabels endlabel ticklabel NoZero LocalWords: defaultformat SuppressQuiet MoveQuiet fixedsizegraphs LocalWords: BottomTop LeftRight fixedscaling graphlimits NColors LocalWords: custompalettes MyPalette Nongraphing dotloc dotlocs opic UnFill LocalWords: PenMargins addBox xmin xmax yequals calculateTransform changeaxis LocalWords: functioncolor latticeshade nonexplicitfun scalesecondaryaxis init LocalWords: emptymarkers paletterange comporint pseudocode framepicture aug LocalWords: unitsizes pathguide picarray genarrays cirdep someroutine interp LocalWords: automaticscaling Metapost accomodate manualscaling mppickup lray LocalWords: horiz verti LightSource unitsquare unitsize truesize psviewer noV LocalWords: interactiveView batchView jpeg jpg embedbitmaps eps directpdf pdf LocalWords: bigpictures png giff PixelsPerInch multipage newpage
Asymptote - 26 October 2008