I have CS2 and sometimes when i finish editing an image it gets re sized. My images are around 8 mega pixels but after editing they sometimes turn out 5 or even 3 mega pixels. I am not cropping them just some minor color correction and such. Am i saving them in a compressed format?
Unless you are using the Crop Tool, the Image Size dialog, or the Canvas Size dialog your images are
not being "resized". What you are likely seeing is variations is either the compression level when saving or the compression efficiency.
The file size of an image saved in a compressed format will vary depending on the compression setting if that particular format's compression method allows for it. JPEG is one format that uses a compression method that does. In Photoshop, and other Adobe products, the compression level is adjusted with the "quality" sliders in the Save dialogs. The higher the "quality" the less compression and the larger the file.
The other thing that impacts the file size with most compressed formats, JPEG in particular, is the level of detail and color variance in the image. Some images (e.g. a purely black and white image with no grey and large blank areas of either black and white) compress very efficiently. Others (e.g. nothing but fine detail like a sharp image with nothing but leaves and grass) don't compress well. Its quite possible that editing a file and resaving at the same compression level could alter the efficency of the compression resulting in either larger or smaller files. A typical example would be an outdoor portrait where the original has a lot of DOF making the backround sharp and detailed. If your edits were to blur the background the resulting save, even using the same compression "quality" would likely result in a smaller file. Your edits would have to be substantial to produce a major change.
You do state that the file changes in terms of "mega pixels". If true, this would not be the size listed in a file dialog as the size of the file, that would be mega
bytes, but the result of multiplying the width of the image in pixels by the height of the image in pixels. If the number of mega
pixels is actually changing then you are incorrect in stating that you are not cropping or resizing the images.