|
From: John H. <jd...@gm...> - 2008-12-17 12:58:16
|
On Mon, Dec 15, 2008 at 2:44 PM, John Hunter <jd...@gm...> wrote: > I am not sure what figimage should mean for a vector backend so I want > to hear from Perry who motivated the function. When I implemented it > on his original request, I understood it to be a raw pixel dump to the > canvas with no scaling, no interpolation, etc.... What does a pixel > dump to a canvas mean for a vector backend? I think we could define > something that was at least consistent, but we should probably hear > from Perry et al who are presumably using the function. After sleeping on this overnight, I think the answer here is clear. figimage is meant to be a pixel dump, so we should just treat a pixel as a dot. When dpi is increased, the number of dots on the canvas increases so the figimage should look smaller. I added your patch and support for magnification to figimage -- the output looks right for PNG, PDF and EPS -- svg still not. I haven't had a chance to look but perhaps SVG does not utilize the magnification param. I'll check into this later. JDH |