2htdp/image uses the save-file method of a bitmap% to do the actual saving and it appears to not support different DPIs.
http://docs.racket-lang.org/draw/bitmap_.html#%28meth._%28%28%28lib._racket%2Fdraw..rkt%29._bitmap~25%29._save-file%29%29 If it were extended somehow, then I imagine it would not be difficult to provide you with a little function that was like 2htdp/image save-image, but that saved the DPI you wanted. But maybe post-processing is easier? You could script that with the process* function, too.... Robby On Wed, Sep 14, 2016 at 3:52 AM, Daniel Prager <daniel.a.pra...@gmail.com> wrote: > It looks like save-png in 2htdp/image defaults to 72 DPI. > > Is there any way to set the DPI when saving from Racket? > > Currently I post-process externally with ImageMagick. > > Dan > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.