| » Stats |
Members: 103,356
Threads: 84,986
Posts: 1,031,253
Top Poster: Karky (9,545) | | Welcome to our newest member, ankkaewrae | |
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.
 | |
04-26-2005, 10:23 PM
|
Interesting question, maybe. Post #1 | | Guest | Interesting question, maybe.
Hi,
I would love an answer to this question. Both a short one that I can understand and a long one so that I can confuse a friend with science.
I have a picture from my camera and it is a JPG of about 2MB. As soon as I make any ajustments to it (colour, perspective etc) the file size jumps right up to 25MB. Why?
Cheers
Lenny
| |
| |
04-27-2005, 01:39 AM
|
Interesting question, maybe. Post #2 | | Guest | Interesting question, maybe.
Hi lenny109
Before I attempt an answer let me ask two leading questions. What is the pixel size of the file? My guess would be about 3000 x 4000 pixels. Secondly, in which file format are you saving the 25mb file. PSD?
BTW, welcome to the forums.
| |
| |
04-27-2005, 02:06 AM
|
Interesting question, maybe. Post #3 | | Newb
Join Date: Jul 2003
Posts: 12
Rep Power: 0 | Interesting question, maybe.
I agree with Welles because i know what he's leading up to saying |
| |
04-27-2005, 10:39 AM
|
Interesting question, maybe. Post #4 | | Guest | Interesting question, maybe.
Yep you are right on both counts.
I realise that by resaving the file as a JPG I will get the file size down again to a much smaller size.
I don't have a problem I am just curious to know what effects the picture size so much.
Cheers
Lenny
| |
| |
04-27-2005, 11:05 AM
|
Interesting question, maybe. Post #5 | | Joe Blow
Join Date: Feb 2004
Posts: 0
Rep Power: 0 | Interesting question, maybe.
I am not a techinical guru but...
JPEG - Joint Photographic Experts Group
The JPEG image is compressed and depending on the quality setting on your camera the compression will be higher or lower. High compression = Low quality. http://www.faqs.org/faqs/jpeg-faq/part1/
The PSD format is non-compressed and also stores all your selections, paths, channels etc. So the PSD format isn't a good choice if you just want to store your image. If you don't want to compress your images you could choose BMP or TIFF.
If you want to enhance your images always use the PSD format as a working copy. This will ensure that all your selections etc is there for you in the future.
/Moltas
|
| |
04-27-2005, 02:08 PM
|
Interesting question, maybe. Post #6 | | Guest | Interesting question, maybe.
Hi again, lenny109, Moltas provided the answer. I'll add a slightly technical desccription which won't be perfectly accurate but a give you a good idea without being too dense.
When a JPEG is saved, the image is first analyzed in 8 x8 pixel blocks. The upper left pixel is written in code while the rest of the block is written in a simpler code in relation to that reference pixel. This shrinks the file size. The greater the compression, the closer to the 'same as the upper left pixel' is how the file is written and the image becomes cruder as more data is thrown away. In it's worst case, which is never used, all 64 pixels in each 8 x 8 pixel block become the same. As soon as you can see the blocks of pixels in an image they are called artifacts. The fact of throwing away pixel data in the JPEG compression scheme makes the file smaller but because data is lost the technique is called lossy vs. a lossless file compression scheme in which no data is lost.
When you save a PSD file each and every pixel is written in the file, location, transparency, color. Each layer you add increases the file size, as does each channel and everything else needed to be written into the file. On top of that, there is now saved a composite image which is a flattened image. That boosts your file size tremendously but is necessary, we are told for old versions of Photoshop compatibility.
Actually it is necessary because .psd used to be Photoshop's proprietary file type. They allowed other applications to use their file type but most of them only can read flattened files, not the full .psd. In order for those applications to be able to read your .psd files, the flattened (composite) must be part of it.
Recently we had a fascinating (well to me it was  ) discussion on saving your image files in .psd files vs. the .tif layered format which allows for one of two lossless compression schemes, LZW and ZIP. You might find it interesting. http://photoshopgurus.com/forum/viewtopic.php?t=6632
I should add that you mentioned resaving your file as a JPEG. Generally that is a bad idea. Each time you resave a file as a JPEG it degrades as more pixel data is thrown away. You should save your original JPEGs separately but when you are working on a file save it in the .psd format or .tif with layers, channels, etc. A TIF with LZW or ZIP compression will save the same data as a .psd file but will be considerably smaller than the .psd.
Cheers!
| |
| |
04-27-2005, 09:35 PM
|
Interesting question, maybe. Post #7 | | Guest | Interesting question, maybe.
Thanks very much for the comprehensive reply's.
So a file that has been lightned a little would save at 25mb (just an example) but a file that had been lightned and restored a little and maybe stretched but still only working on the original layer could then be 65mb? It all depends on how much it gets edited? Why can a single layered image be so different? isn't the image still using the same amount of pixels of the same size?
Cheers
Lenny
| |
| |
04-28-2005, 12:10 AM
|
Interesting question, maybe. Post #8 | | Guest | Interesting question, maybe.
If you just have one layer there will be very little file size difference no matter how much work you do on it.
| |
| |
04-28-2005, 05:13 AM
|
Interesting question, maybe. Post #9 | | Guest | Interesting question, maybe.
I've also noted that those file sizes in the bottom of the PS screen are kind of like Enron's books, inflated. I often start with a 10 meg raw file and open to 25 or so in PSD then by the time I've worked the image a while the funny number at the bottom of the screen will say 1.5 or more GIG. If I save it, Exploer seldom will show even 1 gig.
Sorry I don't know why.
| |
| |
04-28-2005, 10:31 AM
|
Interesting question, maybe. Post #10 | | Guest | Interesting question, maybe.
Hi Robt,
Your working on files that get to 1GB! That seems rather large, especially as it is only relatively recently that we have had HD's that size.
What did you do 5 years ago?
Lenny
| |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
More threads of lenny109 | | Thread | Date | Forum | Replies | Last Post | Interesting question, maybe.
Interesting question, maybe.: Hi,
I would love an answer to this question....
| 04-26-2005 | General Photoshop Board | 14 | 04-30-2005 01:57 PM |
Other threads in forum General Photoshop Board | | Thread | Date | Thread Starter | Replies | Last Post | humming bird?
humming bird?: http://i153.photobucket.com/albums/s235/terp3/IMG_...
| 07-17-2007 | terp | 6 | 07-18-2007 01:45 AM | One font, please.
One font, please.: Someone knows what font is this?
...
| 11-01-2006 | Gastoncillo | 0 | 11-01-2006 04:16 PM | Berbatov sig!
Berbatov sig!: hi guy´s!
i was looking for a berbatov sig!...
| 07-11-2006 | Butze | 3 | 07-11-2006 06:29 PM | I Have an Idea
I Have an Idea: Hi guys I come back yet again and this time with...
| 12-14-2005 | Red Rooster | 3 | 12-15-2005 03:20 AM | Cast color on a photo
Cast color on a photo: I was just working taking the cast off a photo...
| 06-29-2005 | lasa | 1 | 06-29-2005 10:01 PM | | » Online Users: 24 | | 0 members and 24 guests | | No Members online | | Most users ever online was 2,128, 07-21-2008 at 08:27 PM. | |