> > >As a followup, is the smoothing of all JPEGs part of the SVG spec? >In this case I might be generically generating JPEGs of small or large >sizes and by default I'd like to not have them "smoothed". >The Adobe SVG plugin has a "High quality" switch that turns this off, >is there a way I can turn this off with Batik, or more useful, >is there something in the spec that I can add to my svg creation >(done dynamically) that can request the smoothing be off for all >plugins by default? I do not want to generate separate rects because >this explodes the >SVG sizes when the image is larger... I also think the same smoothing >happens for embedded PNGs when I tested it a few months back. > >Thanks >Jeff
Sorry about asking this too soon as I do not know why I did not see this the first time but using the attribute image-rendering="optimizeSpeed" to <image> will change the default smoothing of JPEGs I notice the spec talks as if one always wants this on bitmap data, and technically optimizeSpeed doesn't guarantee the interpolation doesn't occur in a user agent.. Maybe the set of users wanting exact display of bitmap pixels is small? Thanks Jeff -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
