Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-04-2003, 04:29 AM   #1
manuelarean
Sorry about my english
 
Join Date: Aug 2002
Location: Madrid. Spain
Posts: 102
Question Help me with this experiment

I have read a lot about the best file format for import images into flash, so I tried the next experiment:

I use the "famous" Dune.tif image of the samples from photoshop, I changd the image size from 600 x 600 px to 300 x 300, and save It as .jpg and .png file formats (the same image) and I get these file sizes

Dune.jpg (80% quality), size 48 Kb aprox
Dune.png (default settings) 172 Kb aprox

Then I imported these images to flash in separates documents, converted the bitmaps to graphic symbols and made a motion twen of 50 frames from alpha 0 to alpha 100. I saved both fla and I get these file sizes

exppng.fla = 220 Kb
expjpg. fla = 44 Kb

Up to here all looks "logic" bigger input = bigger output

But here is the interesting detail, the swf file sizes

expjpg.swf = 32 Kb
exppng.swf = 8 Kb 8 Kb

So I would like if some of you in your spare time, try some variations of this experiment, and post your resoults here, to get a more definitive conclusion...

Becouse so far I have found a reason to use always PNG to import to flash, and is a reason based on one of the most importants facts in WEB, file size. But before that I would like to probe that this is a "general rule" and not and "unique event"

(sorry about my english)
__________________
Thanks God for design
manuelarean is offline   Reply With Quote
Old 09-04-2003, 05:59 AM   #2
fgf
Registered User
 
fgf's Avatar
 
Join Date: Jan 2003
Location: edinburgh
Posts: 673
Default

My results
445k bitmap (photo but with quite a lot of green)
->
166k png
17.6k jpg

png swf 16.5k
jpg swf 17.5k

png settings 24bit png
jpeg settings quality 30%

This had started from a jpeg image so a visual comparison for artefacts etc doesn't make sense and might also have some effect on the results. I'll grub around for some scaned images to test with a bitmap that has never been a jpeg

fgf
fgf is offline   Reply With Quote
Old 09-04-2003, 06:27 AM   #3
fgf
Registered User
 
fgf's Avatar
 
Join Date: Jan 2003
Location: edinburgh
Posts: 673
Default

Started with a fresh scanned image

final results png.swf 23k, jpg.swf 27k
24bit png versus 30% quality jpeg.

No pig artifacts on the jpeg but it appeared slightly blury around some text in the photo versus the png looking slightly pixelated around the text but preserving the colour range better in dark areas

fgf
fgf 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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:31 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.