|
Posted by Onideus Mad Hatter on 01/18/07 14:15
On 18 Jan 2007 09:42:22 GMT, jasen <jasen@free.net.nz> wrote:
>On 2007-01-17, FrozenNorth <frozennorth123@gmail.com> wrote:
>> Jeckyl tossed the following at the wall, and it stuck:
>>
>>>> Can anyone with Firefox who has version 9
>>>> of Flash check the save functionality and tell me if it'll let you
>>>> actually save the graphic:
>>>> http://www.backwater-productions.net/_test_platform/Sprite_Test/index.php
>>>
>>> After saving (when using Flash Player 9 in FireFox) the new window shows a
>>> tealish coloured rectangle (if I try to save the image, it tries to save
>>> as
>>> PNG). In IE7 with Flash Player 9, the new window has QuickTime content
>>> showing the same sized tealish colored rectangle, but with the character
>>> images inside it.
>>
>> Odd, using Flash 9.0d78 in Firefox 2.0.0.1 on Linux, I got a new window,
>> teal background with the character images. It would have been saved as a
>> PNG if I has cared enough to actually save it.
>
>you should try saving it, in mozilla it displays fine, and seems to save,
>but when I open the saved image I get a black rectangle.
>
>> But damn, the save progress bar was sloooowww.
>
>It converts each 24 bit pixel into about 17 bytes of ascii data...
>
>the uploaded query is about 800K
>
>There must be a better way. Can flash do zlib compression?
>even a simple RLE would help.
I read somewhere about using the new flash.net.Socket to do just
that...haven't really found a lot of details about it though.
Probably I'll experiment with that in March (the rest of this month
and next are pretty booked up for me project wise)...actually maybe
not even in March, cause I think I'm gonna go to Sakura Con in Seattle
this year, in which case I need to whip up a couple new AMVs for teh
contests.
However in the mean time I have decided to switch to using GET
variables instead of POST variables (which should solve the saving the
problem), the trick is compressing the data enough that it doesn't
crash the URI, so I'm just going to create a real simple compression
algorithm that'll track the span of a specific color (it'll work good
on the sprites since they're palette based). So like the first line
variable will look like this: 0DA2BD-128 and then if there are more
than one color line spans it'll put a | between them and then if
there's no span on a particular color it'll just leave off the - and
span number. Even if you throw up a whole bunch of different colored
parts it'll still cut it all down enough that it'll pass through the
URI.
The one thing I *SHOULD* do is finish my Interpixel Cascade Fusion
codec prototype and then use it's base engine to compress the image
data...but that'll take at least two or three weeks to get done. Plus
I think I'm going to have to rewrite most of the code I've already got
for it, cause the last time I worked on it, well it seemed to work
okay for simple color forms, but when I tried it out on a more complex
image:
http://www.backwater-productions.net/_images/_Scraps/ICF_Video_Codec_Snafu.png
....yeah, for some reason it was having problems reversing the fusion
process. At the time I wasn't able to isolate the problem and then I
got kinda bored with it and then shelved it. My original prototype
version, the one that created that image, was done in PHP, so I would
need to rewrite it anyway to use it in Flash. Sometimes I find it's
better to just put a project up on the shelf for awhile and work on
other stuff, especially cause what you learn later on will reshape
your perspective and then you can kinda look at the problem fresh.
--
Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog
Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."
"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."
"I'm not a professional, I'm an artist."
"Your Usenet blinders are my best friend."
"Usenet Filters - Learn to shut yourself the fuck up!"
"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."
"There are clingy things in the grass...burrs 'n such...mmmm..."
"The more I learn the more I'm killing my idols."
"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"
"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."
"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."
"Reality is directly proportionate to how creative you are."
"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."
"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."
"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."
"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."
"Those who record history are those who control history."
"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."
"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."
"Tell me, would you describe yourself more as a process or a
function?"
"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."
"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )
Navigation:
[Reply to this message]
|