Thanks for the heads-up, Alias (and good to hear from you again ;) )
The original attachment's up at http://www.prehensile.co.uk/dropbox/Untitled-1.gif. I'm using the old blur-lots-then-threshold technique. I've done a bit more research, and the way I understand it, most antialiasing techniques work by calculating the sub-pixel positions of things, and setting the brightness of the closest corresponding pixels accordingly. In this case, however, I already have an aliased bitmap with no sub-pixel information. I guess an algorithm could be conceived that would somehow infer sub-pixel values, but this feels like it would be unnecessary faff, and very slow. Anyone know of a quick-and-dirty way of smoothing a bitmap? I guess I could render at a higher resolution than needed and scale down, to mimic calculating sub-pixels, but that also feels inefficient. There must be a clever cheaty way of doing this? h. On 04/02/07, Alias™ <[EMAIL PROTECTED]> wrote:
Can you throw the example image onto a web server so we can see it? The list strips out attachments :( Alias On 01/02/07, Henry Cooke <[EMAIL PROTECTED]> wrote: > Hey all, > > I've been mucking about with a metablob-type thing, and have got it > rendering quite nicely. However, it only renders a black-or-white (1bit) > bitmap - does anyone know of a good technique to do fast antialiasing on > such a bitmap? I've tried blurring a bit (which is slow as hell, and looks > crap) and rendering at 1/2 res and scaling up with a draw() with smoothing > on, which also looks crap. Any better suggestions? > > Example image attached. > > h. > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com