Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-16-2012, 10:48 PM   #1
nfsynn
Registered User
 
Join Date: Jun 2006
Posts: 8
Default Screen capture image quality help

i have an application which takes a screenshot of the stage, which then gets uploaded to facebook. but the image quality is not great..is it something im doing wrong? ive also tried the PNGEncoder but the quality result is the same.

ActionScript Code:
var bd:BitmapData = new BitmapData(stage.stageWidth,stage.stageHeight);     bd.draw(stage); var screenshot:Bitmap = new Bitmap(bd); //i then uploaded screenshot to facebook

this with the PNGEncoder:

ActionScript Code:
var bd:BitmapData = new BitmapData(stage.stageWidth,stage.stageHeight);     bd.draw(stage);         var myPNG:ByteArray = PNGEncoder.encode(bd); //myPNG gets uploaded to facebook

id appreciate the help, thanks.
nfsynn is offline   Reply With Quote
Old 05-17-2012, 02:02 AM   #2
abeall
Senior Member
 
Join Date: Feb 2006
Location: Washington, DC
Posts: 2,810
Send a message via AIM to abeall
Default

How are you uploading to facebook, and how are you viewing the resulting image? PNG should be lossless. I'm guessing facebook is doing some compression on their end.
__________________
Aaron Beall | Flash portfolio | Fireworks extensions | Twitter
abeall is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:12 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.