Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Cameras, Lenses & Accessories Canon Digital Cameras 
Thread started 18 Feb 2007 (Sunday) 13:29
Search threadPrev/next
sponsored links (only for non-logged)

xti JPEG Picture Size

 
WGK
Member
162 posts
Joined Jan 2005
Location: New Orleans, La
     
Feb 18, 2007 13:29 |  #1

My daughter just purchased an xti Rebel 10mp. We selected the "large" jpeg file size for taking pictures but the resuting pictures are approx 4mp. I thought the pictures would be closer to 10mp. Is the 4mp picture size correct? Is 4mp the largest jpeg picture size that can be taken with the xti?

When we swiched to "raw" the resulting pictures were close to 10mp.

Any assistance would be very much appreciated.




  
  LOG IN TO REPLY
crn3371
Cream of the Crop
Avatar
7,198 posts
Likes: 2
Joined Mar 2005
Location: SoCal, USA
     
Feb 18, 2007 13:34 |  #2

You're confusing megapixels with megabytes. One is the pixel resolution of your camera, the other is the amount of data in the picture file. Two entirely different animals.




  
  LOG IN TO REPLY
PhotoFranz
Goldmember
Avatar
1,639 posts
Likes: 2
Joined Jan 2007
Location: Chicago, Illinois
     
Feb 18, 2007 13:34 |  #3

Remember, JPEG is a compressed format. When you open the photo in PhotoShop or another program, it will tell you the actual size of the picture. That is one reason that a lot of the more experienced people on here will tell you that they use RAW most of the time. Every time you open and save a compressed format file, be it JPEG of another, you get some loss of quality. I am sure someone is going to respond with a really good link to an article that explaines it fully.


http://www.flickr.com/​photos/photofranz/ (external link)
Camera: Fujifilm HS 50 EXR 42X zoom, Sigma Electronic Flash EF 500 DG ST, Vegas Movie Studio 9.0, Noiseware Standard Edition, Photoshop Elements-11, Photomatix Essentials. I am here to learn from the experts.

  
  LOG IN TO REPLY
gjl711
Wait.. you can't unkill your own kill.
Avatar
57,730 posts
Likes: 4065
Joined Aug 2006
Location: Deep in the heart of Texas
     
Feb 18, 2007 13:56 |  #4

PhotoFranz wrote in post #2730301 (external link)
Remember, JPEG is a compressed format..

Actually, both jpeg and raw are compressed, but raw uses a lossless compression technique. Secondly, jpeg is a 8 bit file format where as raw is 12. And here is the site with lots and lots of details. "click me (external link)"
ANd for those interested in more specifics about jpeg, "click here (external link)"


Not sure why, but call me JJ.
I used to hate math but then I realised decimals have a point.
.
::Flickr:: (external link)
::Gear::

  
  LOG IN TO REPLY
PhotoFranz
Goldmember
Avatar
1,639 posts
Likes: 2
Joined Jan 2007
Location: Chicago, Illinois
     
Feb 18, 2007 14:12 |  #5

Thanks gil711, I knew someone would come up with links pretty quickly. I think I will read them and learn too. Thanks again.


http://www.flickr.com/​photos/photofranz/ (external link)
Camera: Fujifilm HS 50 EXR 42X zoom, Sigma Electronic Flash EF 500 DG ST, Vegas Movie Studio 9.0, Noiseware Standard Edition, Photoshop Elements-11, Photomatix Essentials. I am here to learn from the experts.

  
  LOG IN TO REPLY
Tee ­ Why
"Monkey's uncle"
Avatar
10,596 posts
Likes: 5
Joined Feb 2006
Location: Pasadena, CA
     
Feb 18, 2007 14:39 |  #6

This is a quote from dpreview.
Image type
Time, secs
(2 GB SanDisk)

Time, secs
(2 GB Lexar)

Time, secs
(8 GB Lexar)

Approx.
size
3888 x 2592 RAW + JPEG *1 3.2 3.2 4.3 15,260 KB
3888 x 2592 RAW 2.6 2.6 2.9 9,300 KB
3888 x 2592 JPEG Fine 1.4 1.5 1.9 3,100 KB
3888 x 2592 JPEG Standard 1.0 1.1 1.5 1,500 KB

You can goto the site and look at the relative size that the JPEG should be. I think it's about right though.
http://www.dpreview.co​m …s/canoneos400d/​page12.asp (external link)


Gallery: http://tomyi.smugmug.c​om/ (external link)

  
  LOG IN TO REPLY
BTBeilke
Senior Member
Avatar
827 posts
Likes: 1
Joined Aug 2005
Location: Bettendorf, IA USA
     
Feb 18, 2007 15:15 |  #7

gjl711 wrote in post #2730373 (external link)
Actually, both jpeg and raw are compressed, but raw uses a lossless compression technique. Secondly, jpeg is a 8 bit file format where as raw is 12. And here is the site with lots and lots of details. "click me (external link)"
ANd for those interested in more specifics about jpeg, "click here (external link)"

Could you explain how RAW is a compressed format? My understanding is that a RAW file contains only the "raw" sensor data. As such, there is a red, green, or blue intensity level recorded for each pixel and you get, roughly, 1 pixel per byte. After the bayer conversion, each pixel now has a red, green, and blue value, or 3x as much data. So after conversion, an 8-bit TIFF is approx. 3x as large as the RAW file and a 16-bit TIFF is approx. 6x as large as the RAW file. So, it seems to me that a RAW file is not compressed at all, it just simply hasn't been converted to a RGB file format yet.


Blane
Gear List

  
  LOG IN TO REPLY
Mark_Cohran
Cream of the Crop
Avatar
15,790 posts
Gallery: 2 photos
Best ofs: 1
Likes: 2382
Joined Jul 2002
Location: Portland, Oregon
     
Feb 18, 2007 15:25 |  #8

WGK wrote in post #2730274 (external link)
My daughter just purchased an xti Rebel 10mp. We selected the "large" jpeg file size for taking pictures but the resuting pictures are approx 4mp. I thought the pictures would be closer to 10mp. Is the 4mp picture size correct? Is 4mp the largest jpeg picture size that can be taken with the xti?

crn3371 wrote in post #2730298 (external link)
You're confusing megapixels with megabytes. One is the pixel resolution of your camera, the other is the amount of data in the picture file. Two entirely different animals.

gjl711 wrote in post #2730373 (external link)
Actually, both jpeg and raw are compressed, but raw uses a lossless compression technique. Secondly, jpeg is a 8 bit file format where as raw is 12. And here is the site with lots and lots of details. "click me (external link)"
ANd for those interested in more specifics about jpeg, "click here (external link)"

Both answers are correct, but the 1st one is the answer to the OP's question.

Mark


Mark
-----
Some primes, some zooms, some Ls, some bodies and they all play nice together.
Forty years of shooting and still learning.
My Twitter (external link) (NSFW)
Follow Me on Instagram (external link)

  
  LOG IN TO REPLY
Mark_Cohran
Cream of the Crop
Avatar
15,790 posts
Gallery: 2 photos
Best ofs: 1
Likes: 2382
Joined Jul 2002
Location: Portland, Oregon
     
Feb 18, 2007 15:30 |  #9

BTBeilke wrote in post #2730687 (external link)
Could you explain how RAW is a compressed format? My understanding is that a RAW file contains only the "raw" sensor data. As such, there is a red, green, or blue intensity level recorded for each pixel and you get, roughly, 1 pixel per byte. After the bayer conversion, each pixel now has a red, green, and blue value, or 3x as much data. So after conversion, an 8-bit TIFF is approx. 3x as large as the RAW file and a 16-bit TIFF is approx. 6x as large as the RAW file. So, it seems to me that a RAW file is not compressed at all, it just simply hasn't been converted to a RGB file format yet.

I do not know the specifics of the Canon Raw Compression Algorithm (it's a proprietary format), but the Canon website specifically lists the Raw Format as Raw Compression in their camera specifications.

Mark


Mark
-----
Some primes, some zooms, some Ls, some bodies and they all play nice together.
Forty years of shooting and still learning.
My Twitter (external link) (NSFW)
Follow Me on Instagram (external link)

  
  LOG IN TO REPLY
WGK
THREAD ­ STARTER
Member
162 posts
Joined Jan 2005
Location: New Orleans, La
     
Feb 18, 2007 15:32 |  #10

Thanks to all, I was getting mexapixels and megabytes confused. Thanksfor the help.




  
  LOG IN TO REPLY
BTBeilke
Senior Member
Avatar
827 posts
Likes: 1
Joined Aug 2005
Location: Bettendorf, IA USA
     
Feb 18, 2007 16:37 |  #11

Mark_Cohran wrote in post #2730749 (external link)
I do not know the specifics of the Canon Raw Compression Algorithm (it's a proprietary format), but the Canon website specifically lists the Raw Format as Raw Compression in their camera specifications.

Thanks for the info, Mark. I did a little searching and found this on the OpenRaw.org site (http://www.openraw.org​/node/1482 (external link)):

.CRW, .CR2 and .TIF Canon RAW photo formats
There are three main formats used by Canon for their RAW photo format. The oldest format is the .CRW format, which is known as the Canon CIFF format. This is used by the D30, D60 and so on. Canon then swapped to a new RAW format, with a .TIF extension, used by the 1Ds. Probably because of confusion between RAW TIFF files and normal TIF files, Canon then swapped to the .CR2 extension with the 1D MkII. Canon .CR2 and RAW .TIF files are essentially the same format. Canon’s RAW format is internally well structured and consistent between different cameras. The latest format draws heavily from the TIFF IFD format. Probably the purest and best of the various RAW formats in existence (albeit still undocumented by Canon). Uses a clever, lossless, JPEG encoding technique for RAW data.

In any event, it still seems to me that the biggest difference between the size of a RAW file and a TIFF file is the amount of information stored in the file and not any relatively small reductions due to lossless compression. But, every little bit helps.


Blane
Gear List

  
  LOG IN TO REPLY
adas
Goldmember
Avatar
1,496 posts
Likes: 5
Joined Aug 2004
     
Feb 18, 2007 17:42 |  #12

If the raw file would be uncompressed, it would be 1.5 times larger than the megapixel count (12 bits = 1.5 bytes).
Thus, an 8Mp image from my 20D would be ~12MBytes. But my raw files are no larger than 8-9 Mbytes. So they must have been compressed.


6D, 20D, G7X

  
  LOG IN TO REPLY
Eagle
Goldmember
Avatar
4,374 posts
Gallery: 62 photos
Likes: 167
Joined May 2005
Location: Akron, Ohio
     
Feb 18, 2007 18:17 |  #13

PhotoFranz wrote in post #2730301 (external link)
Every time you open and save a compressed format file, be it JPEG of another, you get some loss of quality.

Well open it once to work on it the save it when your done. Is there really a need to keep opening and resaving. How many times do you really resave an image?


7D MKII ■ 10-22 ■ 15-85 ■ 28-135 ■ Σ 50-150 ■ 70-200 f4L ■ 100-400L ■ 580EX II
Gear-PCSmugMug (external link) ShutterStock (external link) Alamy (external link) Eagle's Nest Photography (external link)

  
  LOG IN TO REPLY
strat666
Member
Avatar
143 posts
Joined Jun 2003
Location: au.nsw.syd
     
Feb 18, 2007 18:34 |  #14

BTBeilke wrote in post #2730687 (external link)
Could you explain how RAW is a compressed format?

Canon's raw files are losslessly compressed, much like zip files -- you get the original data back while saving space.

JPEG uses lossy compression: the original data can only be approximated, never restored with bit-for-bit accuracy.

Some cameras don't compress their raw files at all. This results in 10+ MB files from 6 MP sensors, etc. They take longer to write to card and take up more space.




  
  LOG IN TO REPLY
BTBeilke
Senior Member
Avatar
827 posts
Likes: 1
Joined Aug 2005
Location: Bettendorf, IA USA
     
Feb 18, 2007 18:56 |  #15

adas wrote in post #2731505 (external link)
If the raw file would be uncompressed, it would be 1.5 times larger than the megapixel count (12 bits = 1.5 bytes).
Thus, an 8Mp image from my 20D would be ~12MBytes. But my raw files are no larger than 8-9 Mbytes. So they must have been compressed.

Hey, don't be bringing any math into this discussion! What's really embarrassing is that I'm an engineer and I got so caught up in the particulars of the file format that I didn't even think to just do a simple bits to bytes conversion.  :o

And, as expected, the math is right on when calculating the size of a 16-bit TIFF file from my 5D:

16 bits / (8 bits / byte) = 2 bytes

12719616 pixels x (2 bytes / pixel) x (3 values / pixel) / 1024^2 = 72.28 MB

So, I stand corrected. It appears that the CR2 compression generally reduces the file size by about a third.


Blane
Gear List

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

2,086 views & 0 likes for this thread, 10 members have posted to it.
xti JPEG Picture Size
FORUMS Cameras, Lenses & Accessories Canon Digital Cameras 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is icebergchick
1354 guests, 157 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.