lingo-l scaling 32bit bitmap grief

2004-08-31 Thread Julian Weaver
hi,

I'm getting aliasing/pixelation problems scaling down 32 bit+alpha
graphics on dark backgrounds using 

ratio based sprite(x).width/height

and 

sprite(x).rect = rect(sprite(x).rect[1] + (ratioH /2) ,
sprite(x).rect[2] - (ratioV /2), sprite(x).rect[3] - (ratioH /2),
sprite(x).rect[4] - (ratioV /2) )


The background is a moving 32 bit composited image.

any workarounds for this, bar literally running through a bunch of
pre-scaled members?

tks

Julian


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


RE: lingo-l scaling 32bit bitmap grief

2004-08-31 Thread Kerry Thompson
 I'm getting aliasing/pixelation problems scaling down 32 
 bit+alpha graphics on dark backgrounds using 
 ratio based sprite(x).width/height
 
 any workarounds for this, bar literally running through a 
 bunch of pre-scaled members?

I seem to remember running into this a couple of years ago. I believe I
ended up scaling the member on the fly, not the sprite. My memory is a
bit hazy, but it's worth a try.

Cordially,

Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


RE: lingo-l scaling 32bit bitmap grief

2004-08-31 Thread Julian Weaver
I'll give it a try thanks julian.

   -Original Message-
   From: [EMAIL PROTECTED] 
   [mailto:[EMAIL PROTECTED] On 
   Behalf Of Kerry Thompson
   Sent: 31 August 2004 16:49
   To: [EMAIL PROTECTED]
   Subject: RE: lingo-l scaling 32bit bitmap grief
   
   
I'm getting aliasing/pixelation problems scaling down 32
bit+alpha graphics on dark backgrounds using
ratio based sprite(x).width/height

any workarounds for this, bar literally running through a
bunch of pre-scaled members?
   
   I seem to remember running into this a couple of 
   years ago. I believe I ended up scaling the member 
   on the fly, not the sprite. My memory is a bit 
   hazy, but it's worth a try.
   
   Cordially,
   
   Kerry Thompson
   
   
   [To remove yourself from this list, or to change to 
   digest mode, go to 
   http://www.penworks.com/lingo-l.cgi To post 
   messages to the list, email [EMAIL PROTECTED]  
   (Problems, email [EMAIL PROTECTED]). Lingo-L 
   is for learning and helping with programming Lingo. 
Thanks!]
   

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]