USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 7/7/06 02:40 PM
Sign-Up: 01/27/05
Posts: 3,422
Is it possible for Flash to save a BitmapData object to an image file?
Posted at: 7/7/06 05:13 PM
Bump, please help if you can
Posted at: 7/7/06 05:48 PM
Sign-Up: 04/16/04
Posts: 5,117
no
not unless PHP can write binary files, inwhich case you could pass the data per pixel to a PHP script to compile it to a bmp file or something
My social worker says im special!
Posted at: 7/7/06 05:51 PM
Sign-Up: 12/11/04
Posts: 12,766
At 7/7/06 05:48 PM, -dELta- wrote: no not unless PHP can write binary files, inwhich case you could pass the data per pixel to a PHP script to compile it to a bmp file or something
yeah, you can.. but you'd need to pass the pixel data as one long string file because php only allows a set number of get/post vars =\
File Uploader (fla, swf, jpg, gif, bmp).
Posted at: 7/7/06 05:56 PM
Sign-Up: 07/13/05
Posts: 95
Try using Zinc or, the free alternative, Screenweaver.
Both these tools can convert an swf to a standalone program (exe), but in a much better way than the standard exe projector stuff that comes with Flash. They both provide an api that allows you to write to files. Not sure if it will work with binary files, maybe it's just text files, never tried this, but there's a good chance it might work.
Posted at: 7/7/06 06:49 PM
Thanks for the tips. I might try Screenweaver out some time but for now I'd need it in .swf or nothing. Not much to do about.
Posted at: 7/7/06 07:41 PM
well i made a small flash app to covnert a bitmap data instance into the binary data of a .bmp file, however it doesnt work because flash String's dont allow you to add null characters so it wont work
Posted at: 7/7/06 07:45 PM
Ok... If anyone wonders this was what I wanted it for.
Posted at: 7/8/06 03:34 AM
At 7/7/06 07:45 PM, Rantzien wrote: Ok... If anyone wonders this was what I wanted it for.
ive found out that with PHP you can write any type of file, so ill start on writing a set of PHP scripts to write your .bmp file :)
Posted at: 7/8/06 04:44 AM
or i would, if i didnt keep getting errors that fopen couldnt open the file!
Posted at: 7/8/06 05:47 AM
Lol, thanks for trying. It wasn't extremely important though, but it would've been a nifty feature.
Posted at: 7/8/06 06:59 AM
At 7/8/06 04:44 AM, -dELta- wrote: or i would, if i didnt keep getting errors that fopen couldnt open the file!
Lol, don't use php for creating images - there is an image library already, most servers should have it pre-installed (I'm not sure if all do) but it's the GD library.
Posted at: 7/8/06 07:00 AM
At 7/8/06 06:59 AM, liaaaam wrote: Lol, don't use php for creating images - there is an image library already, most servers should have it pre-installed (I'm not sure if all do) but it's the GD library.
Ok, I totally messed that up >_< I meant don't use fopen for creating images.
The GD library is a PHP plugin.
Posted at: 7/8/06 02:31 PM
At 7/8/06 07:00 AM, liaaaam wrote: At 7/8/06 06:59 AM, liaaaam wrote: Lol, don't use php for creating images - there is an image library already, most servers should have it pre-installed (I'm not sure if all do) but it's the GD library.Ok, I totally messed that up >_< I meant don't use fopen for creating images. The GD library is a PHP plugin.
the GD library, USES fopen, fopen is the only way to open a file stream and besides, i like writing the compilers myself
Posted at: 7/8/06 02:36 PM
Sign-Up: 11/22/03
Posts: 1,178
No, I'm pretty sure it can't.
Below is what would of been a picture of my real time stratergy, it's just too bad I can't fit it's awesomeness in 599X50. Who thinks up these dimensions?!
All times are Eastern Standard Time (GMT -5) | Current Time: 08:21 AM
<< Back