| Author |
Re: Jpegs vs. Gifs in flash
|
|
| octav20xx 2005-08-24, 7:55 pm |
| you must take the smallest !
I belive that GIF's are smaller but with a small quallity too !
Look at the number of bytes and make your choice !
PS : trie to open your pages in the same window ... and more better in the
same flashMovie !
| |
|
| Basically i just need to know the easiest way to get the highest quality images up on my site....any and all help would be greatly appreciated!!
Thanks so much,
Zach
| |
|
| I think the best way is to load the images from an external folder, using a
preloader to load the images first. That way you can keep the quality of the
pictures up, keep the size of your SWF down, and give a better experience to
the viewer once the movie is fully loaded.
I did an online tutorial to learn how to do this (can't remember where it was
though... maybe at FlashKit.com or here at Macromedia.com). I'm happy to post
the resulting FLA and you might be able to cut and paste what is necessary to
help yourself out.
You need to put an "images" folder in the same folder as your SWF that
contains this code and put your pictures in it (or change the path to images in
the Actionscript). The Actionscript is really well commented so you should
easily be able to understand what is happening here. If you have questions, let
me know.
OH, and please disregard the graphics... the emphasis was on the speed of
creation, not the quality of the artwork. :)
http://mike.hudak.com/Flash/slide_show.fla
HTH!
| |
| Jeckyl 2005-08-24, 11:28 pm |
| You've misunderstood.
SWF movies do not GIF format in them. They either have lossless (perfect
quality) zipped images, or they have lossy (JPEG) images.
If you want the best quality, and your original image is picture perfect and
not already lossy JPEG, choose the lossless compression.
If you want to keep your original lossy image quality (not make it any
worse) and your image is not in progressive JPEG format, then you can choose
for FLash to directly use the imported JPEG file without touching.
Otherwise if you choose lossy compression Flash will compress and give you a
lower quality image, which can result in smaller file size.
Its up to you to choose the balance of quality and file size you want. If
file size is not an issue, and your images are non-progressive JPEG, then
choose whichever is the smallest of lossless compression or lossy (where
Flash uses the imported data directly). Both of these will give identical
quality, you can just pick the smallest size.
--
Jeckyl
| |
| Zmc08 2005-08-24, 11:29 pm |
| Hey Jeckyl,
Thanks for the response...I'm not exactly an expert at flash...but where might
I find the option to choose lossless compression?
Again, thanks...this sounds like the solution i was looking for
- Zach
| |
| Jeckyl 2005-08-25, 4:18 am |
| In the bitmap properties for the image in the library, select compression of
"Lossless (PNG/GIF)"
Also, for pixel accuracy, you might like to turn off the [ x ] Allow
smoothing.
--
Jeckyl
| |
|
| This looks better thanks! But the color is still faded compared to what i'm
seeing with the jpeg outside of flash (in photoshop or dreamweaver). Is this
just what happens when it is bitmap form? Is there any easy way to avoid that?
Thanks so much to everyone for all the help
| |
| Anth2003 2005-08-25, 11:25 pm |
| I would suggest using high quality JPEGS rather than the originals. Properly
compressed JPEGs look very nearly as good as the originals but are magnitudes
smaller (I concede that overly compressed JPEGs look crap).
The photo in this site I did in this site:
http://www.adamdawedesign.com/set_d...gn_styling.html are
all JPEGed down to much smaller than the originals but maintain their visual
integrity. Could have done with some preloaders though.
One word of warning progressive scan JPEGs won't work.
Don't use GIFs for your photography because the reduction in the number of
colours will cause banding and make your images ugly. GIFs are more suited to
graphics/illustrations as opposed to images.
| |
| Pete Hughes 2005-08-30, 7:39 pm |
| If you are seeing a color shift then you probably have an embedded color
profile in your photos. You need to convert that to sRGB before putting in
Flash.
Photos in Flash are confusing but you have received at least one good
explanation. I don't know what Flash uses internally, but suspect if you import
a JPG it keeps the original JPG, if you import anything else it is a PNG. In
the first case you can pass the JPG through unaltered if you like.
| |
| Jeckyl 2005-08-30, 11:18 pm |
| > Photos in Flash are confusing but you have received at least one good
> explanation. I don't know what Flash uses internally, but suspect if you
> import
> a JPG it keeps the original JPG, if you import anything else it is a PNG.
> In
> the first case you can pass the JPG through unaltered if you like.
FYI:
Images in a published SWF are either non-progressive JPEG (with optional
zipped alpha channel), or they are zipped bitmap images (again with optional
alpha channel).
There is no PNG or GIF in a published SWF file.
Jeckyl
| |
| Pete Hughes 2005-09-02, 7:20 pm |
| Jeckyl of course you are right, I was trying to imagine the formats retained in the FLA, not the SWF.
| |
| CrysTuck2005 2005-09-02, 11:18 pm |
| :beer;:D
Sometimes the easiest thing to do is the hardest to find. I just had the same
problem in a design I am doing for the local Police Athletic League website.
It took me three hours to try to make a high quality jpeg not lose anything
when publishing the file flash file.
Then it hit me. Don't try to work with the file AT ALL if you hit "save
as>jpeg"
Export or Save "FOR WEB" (adobe photoshop/image ready/fireworks). I hit
myself on the head for not figuring it out sooner... but it was three in the
morning and... well whatever...
DO THIS AND IT WILL WORK FOR YOU 300 dpi maximum quality jpeg... and save
"FOR WEB" ... don't scrimp on the quality... who cares if the files size is
higher by a dozen kilobytes... make the image smaller not the quality.
i'm out;)
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |