Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Photos

Notices

Reply

Lost Bytes with roatation in Windows Photo and Fax viewer

 

LinkBack Thread Tools Display Modes
Old 04-25-2008, 12:56 PM   #1 (permalink)
Default Lost Bytes with roatation in Windows Photo and Fax viewer

I wished to rotate .jpg photos so that in a slideshow people don't have to
crane their necks constantly to view the pictures. I have found that after
rotation, the picture size is reduced by 44 bytes (one example;don't know if
it's consistant with each picture), and that the bytes don't come back if
rotated back to the original orientation. Further 90-degree roation adds or
removes an additional 5 bytes, but no more. Naturally, I want full
resolution when I go to print the photos, in the original orientation, so I
want to know:
1) what causes the loss of the initial 44 bytes;
2) what causes the additional loss/gain of 5 bytes;
and
3) whether those lost 44/5 bytes are unnecessary and I shouldn't worry about
it,
or I should never rotate pictures, or what?

In case the info is necessary, I am using Windows XP-Pro Vers. 2002 SP 2

Actual data: orig. photo 1.823 KB, rotated photo 1.779/1.774 KB

-Scott
Scott092707
Guest
 
Posts: n/a
Reply With Quote  
Old 04-25-2008, 01:50 PM   #2 (permalink)
Default Re: Lost Bytes with roatation in Windows Photo and Fax viewer

At 1,823 KB file size you have more bytes than you need a loss of 44 bytes
is nothing.
But really, this is not the way it works for printing, the file size
obviously reflects how large a print you can get but the real numbers you
want are the pixel dimensions.
The "rule of thumb" is if you want a great print you divide the pixel
dimensions by 300.
At 1,823 KB file, I am guessing that the pixel dimensions will be something
like 2048 x 1360. So you can get a print of 2048/300 = 6.8 inches by
1360/300 = 4.5 inches. Now you can reduce 300 to around 200 and still get a
very good print.
Take a look at you file size in a particular photo folder. For a particular
camera, the pixel dimensions will always be the same for all photos in the
folder, but the file size will vary according to how much information you
have in each image. The extremes would be taking a photo of a plain black
and white object (photo # 1) and a landscape photo with lots of details and
colors (photo #2). If you look at the size of the files, photo #1 would be
very small while photo #2 would be very large. However, if you look at the
pixel dimensions, they would be exactly the same for both photos.
To find the pixel dimensions of your photos, just place your mouse pointer
over a thumbnail or file name. A box will open and Dimensions will be the
first item listed. Another way to get it is to use the Details view for your
folder. Open the folder in Details view and right click on the Name column
header, a list will open, click on More and then check Dimension to add this
info as a column.
The bottom line is: pixel dimensions control print quality, not file size.


"Scott092707" <Scott092707@discussions.microsoft.com> wrote in message
news:A24063BA-77E6-4A9A-AD88-90F777A334CB@microsoft.com...
Quote:
>I wished to rotate .jpg photos so that in a slideshow people don't have to
> crane their necks constantly to view the pictures. I have found that
> after
> rotation, the picture size is reduced by 44 bytes (one example;don't know
> if
> it's consistant with each picture), and that the bytes don't come back if
> rotated back to the original orientation. Further 90-degree roation adds
> or
> removes an additional 5 bytes, but no more. Naturally, I want full
> resolution when I go to print the photos, in the original orientation, so
> I
> want to know:
> 1) what causes the loss of the initial 44 bytes;
> 2) what causes the additional loss/gain of 5 bytes;
> and
> 3) whether those lost 44/5 bytes are unnecessary and I shouldn't worry
> about
> it,
> or I should never rotate pictures, or what?
>
> In case the info is necessary, I am using Windows XP-Pro Vers. 2002 SP 2
>
> Actual data: orig. photo 1.823 KB, rotated photo 1.779/1.774 KB
>
> -Scott

Yves Alarie
Guest
 
Posts: n/a
Reply With Quote  
Old 04-25-2008, 04:40 PM   #3 (permalink)
Default Re: Lost Bytes with rotatation in Windows Photo and Fax viewer

Thank you, Yves.
You have relieved me as to potential loss of quality in the print.
And taught me an interesting rule-of-thumb.

I am still curious, tho' :
a)why the pixels initially disappear,
b)why they do not subsequently do so,
and c) why the size bounces back and forth by 5 bytes
depending on the orientation.

(I'm ALWAYS curious...)

"Yves Alarie" wrote:
Quote:
> At 1,823 KB file size you have more bytes than you need a loss of 44 bytes
> is nothing.
> But really, this is not the way it works for printing, the file size
> obviously reflects how large a print you can get but the real numbers you
> want are the pixel dimensions.
> The "rule of thumb" is if you want a great print you divide the pixel
> dimensions by 300.
> At 1,823 KB file, I am guessing that the pixel dimensions will be something
> like 2048 x 1360. So you can get a print of 2048/300 = 6.8 inches by
> 1360/300 = 4.5 inches. Now you can reduce 300 to around 200 and still get a
> very good print.
> Take a look at you file size in a particular photo folder. For a particular
> camera, the pixel dimensions will always be the same for all photos in the
> folder, but the file size will vary according to how much information you
> have in each image. The extremes would be taking a photo of a plain black
> and white object (photo # 1) and a landscape photo with lots of details and
> colors (photo #2). If you look at the size of the files, photo #1 would be
> very small while photo #2 would be very large. However, if you look at the
> pixel dimensions, they would be exactly the same for both photos.
> To find the pixel dimensions of your photos, just place your mouse pointer
> over a thumbnail or file name. A box will open and Dimensions will be the
> first item listed. Another way to get it is to use the Details view for your
> folder. Open the folder in Details view and right click on the Name column
> header, a list will open, click on More and then check Dimension to add this
> info as a column.
> The bottom line is: pixel dimensions control print quality, not file size.
>
>
Scott092707
Guest
 
Posts: n/a
Reply With Quote  
Old 04-26-2008, 03:15 PM   #4 (permalink)
Default Re: Lost Bytes with rotatation in Windows Photo and Fax viewer

If you open a photo file to view it and then close it without making any
change, the size of the file will not change.

However, if you make a change such as rotation, and you close the file the
compression software on your computer is more efficient than the compression
software in your camera and when "saving" the change the file size will be
slightly smaller but there will be no loss in quality (the term used is
lossless rotation).

If you make other changes such as adding text, removing red eye, etc. and
you save the file there will "some" loss in quality since the file will need
to be compressed again to save it. However this loss in quality is not
something you can detect. So no need to worry about it. It is best to make
all your changes and then "save as" and give another name so you still keep
the original file and best to do all your editing so you will do only one
"save as", but don't worry about two or three editing of the same file.

You can read a lot more details about JPG and how this compression work at
this site:

http://en.wikipedia.org/wiki/JPEG#Co...transformation
"Scott092707" <Scott092707@discussions.microsoft.com> wrote in message
news:0D921179-F9D1-44A1-B1B5-9825EA945DC8@microsoft.com...
Quote:
> Thank you, Yves.
> You have relieved me as to potential loss of quality in the print.
> And taught me an interesting rule-of-thumb.
>
> I am still curious, tho' :
> a)why the pixels initially disappear,
> b)why they do not subsequently do so,
> and c) why the size bounces back and forth by 5 bytes
> depending on the orientation.
>
> (I'm ALWAYS curious...)
>
> "Yves Alarie" wrote:
>
Quote:
>> At 1,823 KB file size you have more bytes than you need a loss of 44
>> bytes
>> is nothing.
>> But really, this is not the way it works for printing, the file size
>> obviously reflects how large a print you can get but the real numbers
>> you
>> want are the pixel dimensions.
>> The "rule of thumb" is if you want a great print you divide the pixel
>> dimensions by 300.
>> At 1,823 KB file, I am guessing that the pixel dimensions will be
>> something
>> like 2048 x 1360. So you can get a print of 2048/300 = 6.8 inches by
>> 1360/300 = 4.5 inches. Now you can reduce 300 to around 200 and still get
>> a
>> very good print.
>> Take a look at you file size in a particular photo folder. For a
>> particular
>> camera, the pixel dimensions will always be the same for all photos in
>> the
>> folder, but the file size will vary according to how much information you
>> have in each image. The extremes would be taking a photo of a plain black
>> and white object (photo # 1) and a landscape photo with lots of details
>> and
>> colors (photo #2). If you look at the size of the files, photo #1 would
>> be
>> very small while photo #2 would be very large. However, if you look at
>> the
>> pixel dimensions, they would be exactly the same for both photos.
>> To find the pixel dimensions of your photos, just place your mouse
>> pointer
>> over a thumbnail or file name. A box will open and Dimensions will be the
>> first item listed. Another way to get it is to use the Details view for
>> your
>> folder. Open the folder in Details view and right click on the Name
>> column
>> header, a list will open, click on More and then check Dimension to add
>> this
>> info as a column.
>> The bottom line is: pixel dimensions control print quality, not file
>> size.
>>
>>

Yves Alarie
Guest
 
Posts: n/a
Reply With Quote  
Old 04-26-2008, 05:15 PM   #5 (permalink)
Default Re: Lost Bytes with rotatation in Windows Photo and Fax viewer

Yves Alarie wrote:
Quote:
> If you open a photo file to view it and then close it without making any
> change, the size of the file will not change.
>
> However, if you make a change such as rotation, and you close the file the
> compression software on your computer is more efficient than the compression
> software in your camera and when "saving" the change the file size will be
> slightly smaller but there will be no loss in quality (the term used is
> lossless rotation).
>
> If you make other changes such as adding text, removing red eye, etc. and
> you save the file there will "some" loss in quality since the file will need
> to be compressed again to save it. However this loss in quality is not
> something you can detect. So no need to worry about it. It is best to make
> all your changes and then "save as" and give another name so you still keep
> the original file and best to do all your editing so you will do only one
> "save as", but don't worry about two or three editing of the same file.
>
> You can read a lot more details about JPG and how this compression work at
> this site:
>
> http://en.wikipedia.org/wiki/JPEG#Co...transformation
> "Scott092707" <Scott092707@discussions.microsoft.com> wrote in message
> news:0D921179-F9D1-44A1-B1B5-9825EA945DC8@microsoft.com...
Most image rotation algorithms now try to be "lossless", in the
sense that they do not actually decompress, rotate, and recompress
the image, but simply perform a "transpose" operation on the compressed
data, and on the 8x8 pixel macroblocks that comprise the compressed
data.

This operation can only be done perfectly if the pixel dimensions of
the image are divisible by eight in both directions. If this is not
the case, then a few rows or columns of data must be discarded from
the edge(s) to make the image conform.

This will result in a small change in image size, but, once done,
the image dimensions will now be a multiple of 8 pixels and no
further loss should occur if additional lossless rotations are
performed.

The reason for preferring this approach is that JPEG is a lossy
compression algorithm, and, though decompressing and recompressing
an image without alteration using exactly the same compression
parameters does not cause information loss, any change in either
the image or the compression (particularly increasing the compression)
will, in general, cause some loss of information. This loss is
usually practically invisible under normal conditions, but it is
a good reason to avoid sequential decompression, modification, and
recompression cycles on images.

If you need to make multiple, separate modifications to an image,
try to make them either all in one session, with only one decompression
at the beginning and a final re-compression at the end, or use a
lossless compression for storing the intermediate results, like TIFF.

Also, it is good practice never to save a modified image "over" the
original image, since you may wish to return to the original to re-do
some processing.

-michael

Quote:
Quote:
>>Thank you, Yves.
>>You have relieved me as to potential loss of quality in the print.
>>And taught me an interesting rule-of-thumb.
>>
>>I am still curious, tho' :
>>a)why the pixels initially disappear,
>>b)why they do not subsequently do so,
>>and c) why the size bounces back and forth by 5 bytes
>>depending on the orientation.
>>
>>(I'm ALWAYS curious...)
>>
>>"Yves Alarie" wrote:
>>
>>
Quote:
>>>At 1,823 KB file size you have more bytes than you need a loss of 44
>>>bytes
>>>is nothing.
>>>But really, this is not the way it works for printing, the file size
>>>obviously reflects how large a print you can get but the real numbers
>>>you
>>>want are the pixel dimensions.
>>>The "rule of thumb" is if you want a great print you divide the pixel
>>>dimensions by 300.
>>>At 1,823 KB file, I am guessing that the pixel dimensions will be
>>>something
>>>like 2048 x 1360. So you can get a print of 2048/300 = 6.8 inches by
>>>1360/300 = 4.5 inches. Now you can reduce 300 to around 200 and still get
>>>a
>>>very good print.
>>>Take a look at you file size in a particular photo folder. For a
>>>particular
>>>camera, the pixel dimensions will always be the same for all photos in
>>>the
>>>folder, but the file size will vary according to how much information you
>>>have in each image. The extremes would be taking a photo of a plain black
>>>and white object (photo # 1) and a landscape photo with lots of details
>>>and
>>>colors (photo #2). If you look at the size of the files, photo #1 would
>>>be
>>>very small while photo #2 would be very large. However, if you look at
>>>the
>>>pixel dimensions, they would be exactly the same for both photos.
>>>To find the pixel dimensions of your photos, just place your mouse
>>>pointer
>>>over a thumbnail or file name. A box will open and Dimensions will be the
>>>first item listed. Another way to get it is to use the Details view for
>>>your
>>>folder. Open the folder in Details view and right click on the Name
>>>column
>>>header, a list will open, click on More and then check Dimension to add
>>>this
>>>info as a column.
>>>The bottom line is: pixel dimensions control print quality, not file
>>>size.
>>>
>>>
>
>
>

--

-michael

NadaPong: Network game demo for Apple II computers!
Home page: http://members.aol.com/MJMahon/

"The wastebasket is our most important design
tool--and it's seriously underused."
Michael J. Mahon
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Windows Photo and Fax viewer will not open henry.bouma@gmail.com Windows XP Photos 9 01-23-2006 03:26 PM
Windows Photo and Fax viewer henry.bouma@gmail.com Windows XP Photos 4 01-15-2006 04:50 PM
No preview available for photo in Windows Picture Viewer Lyse Windows XP Photos 1 11-03-2004 12:19 AM
lost Windows Picture & Fax Viewer Bill NJ Windows XP Configuration & Management 2 09-12-2004 05:23 AM
Windows Photo & fax viewer Gary Windows XP Photos 2 10-24-2003 12:32 PM


All times are GMT. The time now is 11:41 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90