manuelarean
09-04-2003, 04:29 AM
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)
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)