Ask a Question related to Macromedia Director Lingo, Design and Development.
-
-
Mac texture blur
Hello, Not done much 3D stuff in Director recently but having problems with textures on the Mac. Got a w3d file with a 4096x4096 texture, works... -
Gaussian Blur on Text turns black
Hi, I'm in the process of being so frustrated, I fear my computer's life! I'm having a problem with illustrator : I'm trying to create a blur effect... -
gaussian blur
Hi, is it possible to obtain a form with a gaussian blur effect in flash. thanks in advance -
blur effect
I got so much help with my 'how to play an external swf file' question...guess I'll ask another one... :-) I'm trying to learn how to create... -
Blur
I have a picture a friend sent to me but the image had been blurred. How do you un blur an image so that you can see it and make it out? -
Christoffer Enedahl #2
Re: Blur text?
Sure, Imagine lingo to the rescue!
You might need to tweek it to handle tranparency and other stuff, but it's a
start. You'll have to change stuff in doBlur()
HTH/Christoffer
on blur aImage
vBlur = image( aImage.width, aImage.height, 16 )
vPattern = [[0, 1, 2, 1, 0],\
[1, 3, 4, 3, 1],\
[2, 4, 5, 4, 2],\
[1, 3, 4, 3, 1],\
[0, 1, 2, 1, 0]]
vSum = 48
vCenter = 3
vSourceRect = aImage.rect
repeat with y = 1 to vPattern.count
repeat with x = 1 to vPattern[y].count
if vPattern[y][x] <> 0 then
vAmount = integer( 256 * ( vPattern[y][x] / float(vSum)) )
vX = x-vCenter
vY = y-vCenter
vTargetRect = offset(vSourceRect, vX, vY)
vBlur.copyPixels( aImage, vTargetRect, vSourceRect, [#blendLevel:
vAmount] )
end if
end repeat
end repeat
return vBlur
end
on doBlur
vImage = member("myText").image
vBlur = blur(vImage)
vMem = member("blurimage")
if vMem.number < 1 then
vMem = new (#bitmap)
vMem.name = "blurimage"
end if
vMem.image = vBlur
end
"Gary" <nospam@nojunk.com> skrev i meddelandet
news:bmamkl$gq0$1@forums.macromedia.com...> Is there any way to blur text... for example, for a drop shadow?
>
Christoffer Enedahl Guest



Reply With Quote

