Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2005, 02:06 AM
Junior Member
 
Join Date: Feb 2005
Posts: 4
Default Image quality

Hi,

Which image formats can the Image object save? e.g. jpeg...

Also, how do I get the maximum quality when saving for each format?

Cheers,

Ian.
Reply With Quote
  #2 (permalink)  
Old 02-20-2005, 02:53 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Image quality

The supported image formats are:
bmp - read, write
wmf emf - read
jpg jpeg - read, write
ico - read
pcx - read
tiff tif - read
tga - read
gif - read
png - read, write

The bmp and png files won't lose quality. For jpg files, a higher compress level predicates better quality.
Reply With Quote
  #3 (permalink)  
Old 02-20-2005, 09:50 PM
Junior Member
 
Join Date: Feb 2005
Posts: 4
Default Re:Image quality

Thanks for your reply.

What is the maximum compression value for jpeg? Or, how do I export an image which would be as good as pressing 'Print Screen' and loading into a paint package?
Reply With Quote
  #4 (permalink)  
Old 02-21-2005, 12:10 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Image quality

The compress level of jpg is from 1 to 255.

You can save a bmp file, without any quality lost

Code:
var image = Image.captureScreen();
image.save("c:\\1.bmp");
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.