The Rolex Forums   The Rolex Watch

ROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEX


Go Back   Rolex Forums - Rolex Forum > General Topics > Open Discussion Forum

Reply
 
Thread Tools Display Modes
Old 2 September 2010, 11:45 PM   #1
Route 66
"TRF" Member
 
Route 66's Avatar
 
Join Date: Apr 2010
Real Name: Steve
Location: Burbank, CA
Watch: 214270 Mark II
Posts: 4,121
A digital imaging question...

First of all, I hope I'm using the correct terminology here...

I know that by multiplying the pixel height x the pixel width will give you the total megapixel count of the image. Example: 1600 x 1200 = 1920000 or 2 megapixels.

Is this also the the megabyte count?

In other words, how do you convert megapixels into megabytes to determine the size of the image?

Thanks
Route 66 is offline   Reply With Quote
Old 3 September 2010, 01:56 AM   #2
Tools
TRF Moderator & 2024 SubLV41 Patron
 
Tools's Avatar
 
Join Date: May 2007
Real Name: Larry
Location: Mojave Desert
Watch: GMT's
Posts: 43,516
Pixels and Bytes do not relate/convert directly.

You need to know how many bytes per pixel your hardware/format architecture produces.. and it will change if you are using 8 bit or 16 bit, or down processing for the web, or up processing for a large print.........

Converting pixels to bytes requires calculating the number of pixels multiplied by the bytes per pixel
__________________
(Chill ... It's just a watch Forum.....)
NAWCC Member
Tools is offline   Reply With Quote
Old 3 September 2010, 02:36 AM   #3
Route 66
"TRF" Member
 
Route 66's Avatar
 
Join Date: Apr 2010
Real Name: Steve
Location: Burbank, CA
Watch: 214270 Mark II
Posts: 4,121
Quote:
Originally Posted by Tools View Post
Pixels and Bytes do not relate/convert directly.

You need to know how many bytes per pixel your hardware/format architecture produces.. and it will change if you are using 8 bit or 16 bit, or down processing for the web, or up processing for a large print.........

Converting pixels to bytes requires calculating the number of pixels multiplied by the bytes per pixel
WOW! Thanks Larry, but I'm afraid you answer is over my head.

If I take a picture with my digital camera, how can I calculate its file size? can you give me an example of how this would be done?
Route 66 is offline   Reply With Quote
Old 3 September 2010, 04:30 AM   #4
Tools
TRF Moderator & 2024 SubLV41 Patron
 
Tools's Avatar
 
Join Date: May 2007
Real Name: Larry
Location: Mojave Desert
Watch: GMT's
Posts: 43,516
Quote:
Originally Posted by Stevarn View Post
WOW! Thanks Larry, but I'm afraid you answer is over my head.

If I take a picture with my digital camera, how can I calculate its file size? can you give me an example of how this would be done?
I wish the answer was a simple one...

Let's just generalize and say that the typical consumer camera will generate 3 bytes per pixel... one for each basic color... high end cameras can also add data for color/contrast/ etc..

But... If you use jpeg as your file default (instead of RAW), your files are compressed downwards and many cameras have several different "levels" of jpeg compression..

If you do not know, and your camera just does it all for you, then probably using 2 bytes per pixel will get you in the ballpark.. If it does not save at a high quality level, the file size will be a lot less..
__________________
(Chill ... It's just a watch Forum.....)
NAWCC Member
Tools is offline   Reply With Quote
Old 3 September 2010, 04:42 AM   #5
rfknauss
2024 SubLV41 Pledge Member
 
rfknauss's Avatar
 
Join Date: Nov 2009
Real Name: Richard
Location: Macungie, PA
Watch: 5513 Sub, LV Sub
Posts: 14,497
Steve, the easiest thing to do is use a software product like PhotoShop and just reduce the DPI to 72. That is what computers use to view a pic. The software will tell you what the new file size is in MB or KB.
__________________


"Few things in life give man as great a pleasure as wearing a Rolex!"

TRF's "AFTER DARK" Bar & NightClub Patron
rfknauss is offline   Reply With Quote
Old 3 September 2010, 05:07 AM   #6
Route 66
"TRF" Member
 
Route 66's Avatar
 
Join Date: Apr 2010
Real Name: Steve
Location: Burbank, CA
Watch: 214270 Mark II
Posts: 4,121
Thank You Richard, but I don't have Photoshop and I'm not about to spend $700 on a program that has a very steep learning curve.

I'd just like to know how to calculate the file size of my images...for free
Route 66 is offline   Reply With Quote
Old 3 September 2010, 05:25 AM   #7
Tools
TRF Moderator & 2024 SubLV41 Patron
 
Tools's Avatar
 
Join Date: May 2007
Real Name: Larry
Location: Mojave Desert
Watch: GMT's
Posts: 43,516
Quote:
Originally Posted by Stevarn View Post
Thank You Richard, but I don't have Photoshop and I'm not about to spend $700 on a program that has a very steep learning curve.

I'd just like to know how to calculate the file size of my images...for free
Oh.............. free....

OK then.... Insert your flash card into your camera.. Look and see how many images it says that you can take..

Divide the size or your card (say 4 gigabyte, etc.) by the number of images you can take.. This will give you the approximate size of each expected file..
__________________
(Chill ... It's just a watch Forum.....)
NAWCC Member
Tools is offline   Reply With Quote
Old 3 September 2010, 05:32 AM   #8
Jocke
2024 SubLV41 Pledge Member
 
Jocke's Avatar
 
Join Date: Apr 2006
Real Name: Jocke
Location: Sweden
Watch: A dozen of Rolex's
Posts: 22,541
The image size is not just about compression, it affects the number of colors and details too. As there is no real formulas are available.
__________________
This message is written in perfect swenglish.

What is best a custom Rolex or a Rolex that is stuck in custom?

Buy a professional camera and you´re a professional
photographer, buy a flute and you own a flute.
Jocke is offline   Reply With Quote
Old 3 September 2010, 05:48 AM   #9
Route 66
"TRF" Member
 
Route 66's Avatar
 
Join Date: Apr 2010
Real Name: Steve
Location: Burbank, CA
Watch: 214270 Mark II
Posts: 4,121
Quote:
Originally Posted by Tools View Post
Oh.............. free....

OK then.... Insert your flash card into your camera.. Look and see how many images it says that you can take..

Divide the size or your card (say 4 gigabyte, etc.) by the number of images you can take.. This will give you the approximate size of each expected file..
Thanks Larry, I sure didn't realize that there wasn't just some simple formula involved. Your method gives me something to go by.

Quote:
Originally Posted by Jocke View Post
The image size is not just about compression, it affects the number of colors and details too. As there is no real formulas are available.
...and Thanks Jocke, I had no idea that what I was asking was so involved!

Many times on websites, if you want to post an image, they tell you it can't exceed say...50MB. How the heck are we supposed to know if ours is too large, if there's no simple way to calculate it?
Route 66 is offline   Reply With Quote
Old 3 September 2010, 05:57 AM   #10
Pix
"TRF" Member
 
Pix's Avatar
 
Join Date: May 2010
Location: midwest
Watch: SS Datejust
Posts: 1,288
Here are some basics...8x12in @ 72dpi = 576w x 864h pixels
4x6in @72dpi = 288w x 432h pixels
Pix is offline   Reply With Quote
Old 3 September 2010, 05:58 AM   #11
Tools
TRF Moderator & 2024 SubLV41 Patron
 
Tools's Avatar
 
Join Date: May 2007
Real Name: Larry
Location: Mojave Desert
Watch: GMT's
Posts: 43,516
the only way to know the actual file size is to click on it's properties..

Almost all images have a slightly different file size....... If you want to reduce it's size (file wise, not image size), you need to resave it at a lesser (more compressed) size..

Most software today has a "web size" feature that reduces image files by 40 or 60 percent........ or more...
__________________
(Chill ... It's just a watch Forum.....)
NAWCC Member
Tools is offline   Reply With Quote
Old 3 September 2010, 06:08 AM   #12
Route 66
"TRF" Member
 
Route 66's Avatar
 
Join Date: Apr 2010
Real Name: Steve
Location: Burbank, CA
Watch: 214270 Mark II
Posts: 4,121
Quote:
Originally Posted by Tools View Post
the only way to know the actual file size is to click on it's properties..

Almost all images have a slightly different file size....... If you want to reduce it's size (file wise, not image size), you need to resave it at a lesser (more compressed) size..

Most software today has a "web size" feature that reduces image files by 40 or 60 percent........ or more...
Awe, to hell with it!!

I'm going back to film!!

I appreciate all your help Larry!
Route 66 is offline   Reply With Quote
Old 3 September 2010, 08:08 AM   #13
TheDude
"TRF" Member
 
TheDude's Avatar
 
Join Date: Oct 2007
Location: DC Area, USA
Watch: IIc,1680 Red,16660
Posts: 4,492
If you're talking RAW capture, in the old days this was predictable. Nowadays, each camera maker uses proprietary lossless compression on RAW images. Depending on the image captured, the compression will be more efficient or less efficient. If you're shooting RAW on a modern camera, the "shots left" readout is a guess and could be off by one or two.

As evidence, the RAW files on my 5D are all slightly different sizes even though they are the same pixel dimensions and coming off 12 bit AD converters.

Others have said, the capture depends on the AD converter in the cam. Most cams are 12 bit AD. Some newer high-end models are 14 bit. Uncompressed, doing the math would give you the actual size of the image in RAW.

When it gets converted to JPEG, this is usually 8 bit, the 12 or 14 bits of information are crammed into the 8 bit space and are compressed using either an in-camera algorithm (if the camera is saving a JPEG) or using a JPEG compression algorithm that will likely have user defined settings in a software application.

Lots of folks will convert a 12 or 14 bit RAW file to a 16 bit TIFF file to perform editing and printing. This will be larger, since more bits per pixel of information are being saved. Data from the 12 or 14 bit RAW file are extrapolated to fill the 16 bit space. TIFF compression is predictable.
TheDude is offline   Reply With Quote
Old 3 September 2010, 08:12 AM   #14
TheDude
"TRF" Member
 
TheDude's Avatar
 
Join Date: Oct 2007
Location: DC Area, USA
Watch: IIc,1680 Red,16660
Posts: 4,492
Quote:
Originally Posted by Stevarn View Post
Awe, to hell with it!!

I'm going back to film!!

I appreciate all your help Larry!
Film scans are predictable - they are TIFFs natively and you can calculate the size based on channel info and bit depth.
TheDude is offline   Reply With Quote
Old 3 September 2010, 08:26 AM   #15
Route 66
"TRF" Member
 
Route 66's Avatar
 
Join Date: Apr 2010
Real Name: Steve
Location: Burbank, CA
Watch: 214270 Mark II
Posts: 4,121
Quote:
Originally Posted by TheDude View Post
Film scans are predictable - they are TIFFs natively and you can calculate the size based on channel info and bit depth.
Sorry Dude, but now we're on to "channel info and bit depth" and it's still beyond my ability to understand.
Route 66 is offline   Reply With Quote
Old 3 September 2010, 12:51 PM   #16
TheDude
"TRF" Member
 
TheDude's Avatar
 
Join Date: Oct 2007
Location: DC Area, USA
Watch: IIc,1680 Red,16660
Posts: 4,492
Quote:
Originally Posted by Stevarn View Post
Sorry Dude, but now we're on to "channel info and bit depth" and it's still beyond my ability to understand.
Some scanners also capture an IR channel so that you can perform dust/scratch removal later. This is in addition to the RGB. This is known as RGBI. 64bit in this mode. Biiiig files.
TheDude is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump

OCWatches

Wrist Aficionado

My Watch LLC

WatchesOff5th

DavidSW Watches

Takuya Watches


*Banners Of The Month*
This space is provided to horological resources.





Copyright ©2004-2024, The Rolex Forums. All Rights Reserved.

ROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEX

Rolex is a registered trademark of ROLEX USA. The Rolex Forums is not affiliated with ROLEX USA in any way.