Monday, July 23

Geek

Reading The Docs

If omitted, or if the image has mode "1" or "P", it is set to NEAREST.
Doh!

When I put up the post about the Import module, I noticed that rescaling gifs on the fly with Minx looks like crap.  I tried fiddling with the settings, but it didn't help, because the image library ignores the frigging settings!

Well at least now I know what to do - convert it to RGB mode, then resize, then convert back to Palettised mode.

Meanwhile: Circle?  Circle?  You call that a circle?

Looks like I'll have to generate the mask at 2x or 4x and then scale down and anti-alias.

Dum de dum... Okay, now with 4xFSAA!  I wonder if that preserves the transparency settings...

Now all I need to do is work out how to do proper drop shadows, and I can do the entire banner generating thingy dynamically.

Aaaand: Dropshadows over solid colours: Check.  Now to tweak that to do dropshadows over images...

Got it!  Thank you ASPN and Google. smile

Update: Hrm.  I can see why this is not a common feature.  To get good results with curves I need to work at at least 4x the base resolution and then downsample, which means I'm working with 2 to 4 megapixel images; 8 to 16 mb of data each.  There's another library I can add which would let me do antialiased drawing; I may have to try that.  Meanwhile, I'll see what I can do with these fonts I've got here...

Update: Or I could try that library first.  Better.  Vertical as well as horizontal symmetry and without downsampling, so it's 10x faster.  Just need to tweak the radius of those corners up slightly.... Got it!   Now, er, can I use that as a mask?  Kind of pointless if not.  So let's give that a whirl.

Posted by: Pixy Misa at 06:32 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 308 words, total size 2 kb.

Comments are disabled. Post is locked.
45kb generated in CPU 0.0135, elapsed 0.467 seconds.
54 queries taking 0.4577 seconds, 336 records returned.
Powered by Minx 1.1.6c-pink.