Re: Re: lingo-l Save as binary file

2003-08-15 Thread elewis
There is another way?!
I've dug this up from my box of goodies. Straight cut/paste from somewhere!
e.


Originally posted by jeepee:
ok this is what I found and indeed it is easy!! 

well here's the trickfor all you who can use this also



This is an easy, yet powerful one:

Have you ever wondered how the JavaConvert Xtra could be used in your own Director 
movies? How about exporting JPEGs for free #8211; no need for an Xtra besides the 
Macromedian ones...

Be sure you have these Xtras installed / in the Xtras folder near your projector:

JavaConvert, Mix Services, BMP Import Export, JPEG Export

I tested one-by-one, so even if it's not obvious what BMP Import Export is doing, it's 
necessary (all tests on MacOS, BTW). Also, don't include your movie in a projector, 
leave it external, and name it as usual aName.dir or aName.dcr also on the Mac.

And put this script into your movie:

on convertToJPEG mymember,myfilepath, myquality
myinst = new(xtra JavaConvert)
set the itemdelimiter = .
myinst.ExportMedia(item 1 of the movie, mymember, ¬
myfilepath, 1, myquality, mymember.castlibnum)
-- put the result -- will be VOID
myinst = 0
end

and call it like this: converttojpeg(member hans, aDisk:aFolder:aFile.jpg, 75)

That's it! JPEG Export on your own... Large castmembers may take a moment or two to 
export.

BTW: most likely these Xtras are not Shockwave-safe.



 On Thursday, Aug 14, 2003, at 18:12 America/Chicago, David Benman wrote:
 
  Not so fast. The DirectImage Xtra is a good xtra solution, but for a 
  free xtra solution you can use the Sharp Image xtra available at:
 
  http://www.sharp-software.com/
 
  I've used both recently, and they performed well.
 
 There's also an article on DOUG describing how to save .BMP formatted 
 images using FileIO. It's slow, but it works.



[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: Re: lingo-l Save as binary file

2003-08-15 Thread Mathew Ray
Wow, that's a neat one! I wonder what other nifty things you can do by
hijacking the JavaConvert xtra? Hmmm

~Mathew

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of elewis
Sent: Wednesday, January 15, 2003 6:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Re: lingo-l Save as binary file


There is another way?!
I've dug this up from my box of goodies. Straight cut/paste from
somewhere!
e.



Originally posted by jeepee:
ok this is what I found and indeed it is easy!! 

well here's the trickfor all you who can use this also



This is an easy, yet powerful one:

Have you ever wondered how the JavaConvert Xtra could be used in your
own Director movies? How about exporting JPEGs for free #8211; no need
for an Xtra besides the Macromedian ones...

Be sure you have these Xtras installed / in the Xtras folder near your
projector:

JavaConvert, Mix Services, BMP Import Export, JPEG Export

I tested one-by-one, so even if it's not obvious what BMP Import Export
is doing, it's necessary (all tests on MacOS, BTW). Also, don't include
your movie in a projector, leave it external, and name it as usual
aName.dir or aName.dcr also on the Mac.

And put this script into your movie:

on convertToJPEG mymember,myfilepath, myquality
myinst = new(xtra JavaConvert)
set the itemdelimiter = .
myinst.ExportMedia(item 1 of the movie, mymember, ¬
myfilepath, 1, myquality, mymember.castlibnum)
-- put the result -- will be VOID
myinst = 0
end

and call it like this: converttojpeg(member hans,
aDisk:aFolder:aFile.jpg, 75)

That's it! JPEG Export on your own... Large castmembers may take a
moment or two to export.

BTW: most likely these Xtras are not Shockwave-safe.



[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: Re: lingo-l Save as binary file

2003-08-15 Thread Gretchen Macdowall
I've dug this up from my box of goodies. Straight cut/paste from somewhere!
e.

http://www.updatestage.com/previous/990401.html#item2
D7 can capture the stage AND save to JPEG
   

Gretchen Macdowall
updateStage, inc.

[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 Save as binary file

2003-08-14 Thread Agustín María Rodríguez
Kerry Thompson wrote:
do I need an Xtra to save a bitmap to the hard drive?
	I have a big delay receiving the mails of this list.. so you´ll prolly 
got an answer to this. Anyway.. try this free xtra:

Sharp Image Export Xtra
http://www.sharp-software.com/
Bye
--
Agustín María Rodríguez | [EMAIL PROTECTED] | www.OnWine.com.ar
[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 Save as binary file

2003-08-14 Thread David Benman
Not so fast. The DirectImage Xtra is a good xtra solution, but for a 
free xtra solution you can use the Sharp Image xtra available at:

http://www.sharp-software.com/

I've used both recently, and they performed well.

It looks like I'll have to do without the New York contingent on this
one.
Ok, I've the image of the video. I know this has been covered before,
but do I need an Xtra to save a bitmap to the hard drive? This is a
projector, not a Shockwave.
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!]


--


David Benman Interactive
[EMAIL PROTECTED]
http://davidbenman.home.comcast.net/
Phone: (508) 384-0240

[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 Save as binary file

2003-08-14 Thread Sean Wilson

do I need an Xtra to save a bitmap to the hard drive? This is a
projector, not a Shockwave.
AFAIK, yes. The best option, IMHO, is Werner's SharpExport xtra
http://www.sharp-software.com
(I believe DirectImage also has this kind of functionality - at a price!)

-Sean. 

[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 Save as binary file

2003-08-14 Thread Tab Julius
Probably, but do you want to save it and retrieve it later, or save it in 
bitmap form (for another app to read)?

If you want to retrieve it later, I guess you could use imaging lingo to go 
through it pixel by pixel and convert to hex and use fileio to write it out 
to a text file, then rebuild it later.  This would perhaps be slow, but 
should be doable.

If you want it in a form like JPEG or BMP, then you'd probably need an Xtra 
to format it properly and slap on the headers.  I don't think there's an 
appropriate one that ships with Director, but I could be wrong about that.

- Tab

At 06:00 PM 8/14/03, Kerry Thompson wrote:
It looks like I'll have to do without the New York contingent on this
one.
Ok, I've the image of the video. I know this has been covered before,
but do I need an Xtra to save a bitmap to the hard drive? This is a
projector, not a Shockwave.
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 Save as binary file

2003-08-14 Thread Howdy-Tzi
On Thursday, Aug 14, 2003, at 18:12 America/Chicago, David Benman wrote:

Not so fast. The DirectImage Xtra is a good xtra solution, but for a 
free xtra solution you can use the Sharp Image xtra available at:

http://www.sharp-software.com/

I've used both recently, and they performed well.
There's also an article on DOUG describing how to save .BMP formatted 
images using FileIO. It's slow, but it works.

Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
 nightwares LLC | Consulting  Programming http://www.nightwares.com/
 Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/
[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 Save as binary file

2003-08-14 Thread Kerry Thompson
Thanks to all who responded to my question. I got Werner Sharp's Image
Export Xtra, and it did the trick. Another happy customer, thanks to
Werner.

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!]