I have a BitMapData to JPG algoritm for FLEX 2. It's made in AS3. Do you want it?
Sorry my English
 
Gustavo Sanábio


 
2006/5/31, Tim Scollick <[EMAIL PROTECTED]>:
If .png is an option instead of .jpg, you could compress it on the client using this:
http://www.kaourantin.net/2005/10/png-encoder-in-as3.html

I'm sure you could make jpegs on the client--I'm just not sure how!

You send the new byteArray to a server page as the .data field in a URLRequest.  A word of warning though--last time that I checked that png encoder, it was for Flex2 Beta2 so there are a few small changes to make it work.  I got it working with PNG and it's pretty solid with 640 x 480 images.

Unfortunately all of my code is at home, so I can't share any working code until this evening.  Let me know if you need more details.

Regards,
 



Tim

On 5/30/06, rigidcode <[EMAIL PROTECTED] > wrote:

If I create a BitMap (or BitMapData) in Flex, how can I save it to the
server as a jpg?  thank you.

rc






--




 
  •  Visit your group "flexcoders" on the web.
     
  •  To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .





    • --




       
      •  Visit your group "flexcoders" on the web.
         
      •  To unsubscribe from this group, send an email to:
          [EMAIL PROTECTED]
         
      •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





        • --
          Flexcoders Mailing List
          FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
          Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




          SPONSORED LINKS
          Web site design development Computer software development Software design and development
          Macromedia flex Software development best practice


          YAHOO! GROUPS LINKS




          Reply via email to