- Original Message -
From: Luke [EMAIL PROTECTED]
snip removed=on getImage/
#ScaleConstrained:
if inputImg.width inputImg.height then
I belive the above line is faulty, it should have the returnRect in mind
here, like this:
WidthScale = returnRect.width / inputImg.width
Actual size
Scale to fit
Fit height
Fit width
Pin smaller
Pin larger
Those seem easy enough, but what are pin smaller and pin larger?
[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]
On 1/13/04 10:03 PM, Colin Holgate [EMAIL PROTECTED] spewed forth:
Those seem easy enough, but what are pin smaller and pin larger?
I know, it's ALL dopey, but when I start coding it I just think it can be
more elegant. I'm looking for some quad math tutorials really.
Pin larger is you take
Oh I should say, the thing that I'm also seeing (or getting screwed up over)
is that the output rect could possibly be landscape or portrait as well, so
I start doing all this in longhand and I'm getting frazzled.
[To remove yourself from this list, or to change to digest mode, go to
I've got to do some lingo-ese and I don't think what I'm doing is very
elegant; I want to take an output rect and an incoming image and
return an
image with a user's choice of:
Actual size
Scale to fit
Fit height
Fit width
Pin smaller
Pin larger
At the risk of causing more damage to volkswagons,
Sigh.
I bet that was easy, right?
And they say it's the people's car...bah! My engine always caught fire.
And it had no floor by the driver's side so you'd be sure to go through
puddles very slowly. At least I got to spray paint it black in the garage,
and put a great big 'Bone Buggy' down
I bet that was easy, right?
Luke, thank you.
He cheated, he used the force.
(bet he's never heard that one before...)
[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,
I bet that was easy, right?
Yeah - but wait 10 minutes and someone will post a smarter, better
version :)
And they say it's the people's car...bah! My engine always caught
fire.
And it had no floor by the driver's side so you'd be sure to go through
puddles very slowly.
My old peugeot 403
Daniel,
Thank you very much. It works perfectly, and only took about a minute to
slot into my project.
Matthew,
Thanks, - I thought of that as well, but couldn't see an easy way of making
a dashed line there either.
cheers,
Martin
At 13:19 01/10/2003 -0500, you wrote:
Hi Martin,
I just
You're welcome, Martin. I'm glad I could help.
If you want to omit all the unnecessary scripts, copy members bluejade_images.class
and bluejade_math.class to one of your project casts.
Also, by the time you downloaded, did the line drawing demo work continuously, drawing
a line to the cursor
At 07:37 02/10/2003 -0500, you wrote:
If you want to omit all the unnecessary scripts, copy members
bluejade_images.class and bluejade_math.class to one of your project casts.
That's what I did - your scripts are well commented and it was quite easy
to figure out what I needed
Also, by the time
Hi Martin,
I just now wrote a handler to do this as part of my open source Lingo. It is
available from the following URL:
http://www.bluejade.com/public_resources/director/bluejade_scripts.html
(If you've visited before, you may need to clear the browser cache since external
casts at least
Total shot in the dark:
Can you draw a vector, mess with that, and take an image of it, rather
than directly drawing lines into an image using the imaging tools? Never
done this...just hypothesizing...
~Mathew
Martin Pallett wrote:
Hi,
I have made a graphing application using Imaging Lingo
can anyone direct me on tutorials for imaging lingo. i
see that is a favorite so i guess i will try to give
it a chance.
I would get James Newton's book, Director Shockwave Studio Developer's
Guide. There is no better or more comprehensive explanation of imaging
lingo.
Cordially,
Kerry
Sorry let me rephrase, I'm looking for some imaging lingo that will blur
the whole image, rather than just the edges.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
Sent: Monday, June 02, 2003 8:35 PM
To: [EMAIL PROTECTED]
Subject: lingo-l Imaging
Sorry let me rephrase, I'm looking for some imaging lingo that will blur
the whole image, rather than just the edges.
This was an interesting problem. I'm sure there are official
anti-aliasing routines out there, but I decided to try and work one
out for myself. I ran into an interesting
BTW, calling that routine two or three times gives even nicer results.
[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
PROTECTED]
Subject: RE: lingo-l Imaging lingo
Sorry let me rephrase, I'm looking for some imaging lingo that will
blur the whole image, rather than just the edges.
This was an interesting problem. I'm sure there are official
anti-aliasing routines out there, but I decided to try and work one
At 2:42 PM -0500 8/20/02, you wrote:
On Tuesday, August 20, 2002, at 12:22 PM, g r i m m w e r k s wrote:
As stupid as it sounds, is there any way I can see the amount of memory an
image is? ie temp = image(32,32,32), put temp.memory or something?
Multiply the width by the height by the color
At 3:55 PM -0500 10/24/02, you wrote:
I've got a movie that's pretty static - no animations, nothing sexy. Just
good old application development stuff.
Anyway, I've got this listing of 10 files that I'm displaying, and the way
I'm doing it is this:
a repeat loop where I toss each line's info to
I am creating such a huge image in memory because they want to print the map
out at high resolution
I suppose you are using Printomatic, right?
My experience with huge print jobs is that printomatic is the real
memory killer. I also had crashes when i.e. 10 pages full of text and
graphics had
No, it's not the Lingo, it's the image that's excessive. This is a 51 MEG
image! And any copy of it will take another 51 megs!
Any rendering or intermediate use may also make a copy.
Size =width * height * 4 (bytes per pixel)
At 03:01 AM 10/11/02, Paul Steven wrote:
Hi there
I have
At 18:20 2002-09-24, another toad wrote:
I was just curiouse if it is possible to do media labs
Effector Set style effects without the xtra?
I'm not familiar with the Xtra, but see if this example by Luke Wigley
provides some inspiration:
http://www.lingoworkshop.com/code/imaging_imagefx3.asp
On Tuesday, August 20, 2002, at 12:22 PM, g r i m m w e r k s wrote:
As stupid as it sounds, is there any way I can see the amount of memory
an
image is? ie temp = image(32,32,32), put temp.memory or something?
Multiply the width by the height by the color depth. That's the number
of bits
On Monday, August 19, 2002, at 10:11 AM, g r i m m w e r k s wrote:
Has anyone tried SIMPLE imaging lingo (ie creating cast members, nothing
fancy ie alphas, etc) on a lowerend system, ie Pentium?
I haven't tried it myself, but would suspect you're right about the
speed difference -- that
At 11:11 AM -0400 8/19/02, you wrote:
Has anyone tried SIMPLE imaging lingo (ie creating cast members, nothing
fancy ie alphas, etc) on a lowerend system, ie Pentium?
My gut says that it's just as fast (copyPixels that is) as fast as director
compositing the stage via score members
It
--
cheers
Lewis
-Original Message-
From: Buzz Kettles [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2002 08:18 PM
To: [EMAIL PROTECTED]
Subject: RE: lingo-l imaging lingo - to duplicate image or not to
duplic ate image!
At 6:18 PM +0100 8/7/02, you wrote:
I can
On Friday, August 9, 2002, at 04:51 AM, Lewis Fleming wrote:
ok I got the image lingo to work without duplicating (below)
Since all you're doing is a quick copyPixels grab, no, using duplicate
won't be faster. You only get decent speed gains if you're doing a lot
of manipulation, per-pixel
At 18:56 -0400 07/10/2002, g r i m m w e r k s wrote:
I'm curious here - if I wanted to do the file directory viewer like a normal
mac view, with little folder open/closed icons -- so I have an offscreen
text member that I populate the listing. I'll then create an image buffer
that will be the
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
specifically I want to deal with text members; I've got to fake a
different kind of rollover/highlight...
Hi grimmwerks,
Here's a behavior that fakes multiple selection highlights using Imaging
Lingo:
At 11:04 -0500 06/27/2002, [EMAIL PROTECTED] wrote:
A buddy from another list asked me for some urls; thought nonoche had a
lot more on his site (for some reason) -- any one else point out some?
James Newton's _Director Shockwave Studio Developer Guide_.
--
Warren Ockrassa |
Urls, boy...urls. But actually that's a good point; maybe I should get it
myself. I was poking around some silly book by a guy named 'Warren' -- but
I mean, that _can't_ be his real name.
(are you expecting James to push your book?)
On Thu, 27 Jun 2002, Howdy-Tzi wrote:
At 11:04 -0500
As afar as I can tell, one can't grow an image.
you don't need to duplicate the member (time memory expensive) -
just peel off a copy of the image
newImage = member(square).image.duplicate()
(this image will have a rect (0,0,15,15 it can't grow)
Are you trying to take the image of the text
At 13:26 -0500 04/03/2002, Robert Rycroft wrote:
Can someone recommend a good book to help learn Imaging Lingo? Thank you.
I've been making great use of James Newton's _Director Shockwave
Studio Developer's Guide_, for what that's worth. The first 5
chapters are all about imaging Lingo. (The
Hi Kerry Genevieve (and all)
Hi Seb (I guess it must be short for Sebastian :) )
Thanks for taking the time and trouble to write such a detailed reply.
Thanks Kerry for stimulating such an interesting conversation.
How about the 3D section?
First class.
Absolutly! But we should
I'm convinced! Been waiting for James's book for a long time.. so what
is the name of the book and where do I get it??
Director Shockwave 8.5 Studio Developer's Guide.
You may buy it online at
http://www.amazon.com/
Hope this helps.
Genevieve
Appart from setpixel.com , evilfish and DOUG, I recommend you James Newton
brand new book, that features a whoel imaging lingo part, very very very
weel done!
Has anyone read this book? It was just published, right?
How about the 3D section?
Is it worth its' weight in gold?
Thanks
Has anyone read this book? It was just published, right?
I've read it--actually, a couple months ago, in manuscript form.
How about the 3D section?
First class.
Is it worth its' weight in gold?
It's the best book in its class--advanced information for advanced users.
It's not
on 1/30/02 10:35 AM, Jean Legault at [EMAIL PROTECTED] wrote:
Can anybody recommend a good book or websites that talk about imaging
lingo - thanks.
jean
www.setpixel.com
A great site with examples, demos and code. :)
L8R,
JRS
===
John
You should check out archived articles on Director Online User's Group
(D.O.U.G.) at http://www.director-online.com/
There are some very good articles with examples and code there.
Jeremy Aker
John At Home wrote:
on 1/30/02 10:35 AM, Jean Legault at [EMAIL PROTECTED] wrote:
Can anybody
Here's two more which I found useful:
http://www.evilfish.org
http://www.lingoworkshop.com/code/imaging.htm
Hope this helps.
Genevieve
From: Jeremy Aker [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: lingo-l Imaging Lingo
Date: Wed, 30 Jan 2002 19:09
41 matches
Mail list logo