Flash - fix for pixellated graphics

Monkey Forums/Monkey Bug Reports/Flash - fix for pixellated graphics

outsider(Posted 2013) [#1]
Hi,

like you can see here http://www.monkeycoder.co.nz/Community/posts.php?topic=3912
and here http://www.monkeycoder.co.nz/Community/posts.php?topic=6063
there is some problem with scaled graphics.

Here is my (probably) working solution http://www.monkeycoder.co.nz/Community/post.php?topic=3912&post=68501

@Mark: Could you please make something like MOJO_IMAGE_FILTERING_ENABLED:Bool=true set up bitmap.smoothing = true; like in my solution, or something similar?


marksibly(Posted 2013) [#2]
This looks like a pretty good fix, but I'm a bit worried it may have performance implications.

Going by the threads you link to, it seems to take care of cases where the flash bitmap size is different from the html <canvas> size - but it should be possible to make sure these match manually, shouldn't it?

Just a bit nervous about blindly enabling yet more (possibly slow) smoothing if it's not strictly necessary!

[edit]
Doesn't seem to make any speed difference here so I'll add it - but only if MOJO_IMAGE_FILTERING_ENABLED is true?
[/edit]


slenkar(Posted 2013) [#3]
yes cos some people want pixelated graphics