After working in Photoshop RAW using Nikon's NEF format the file opens in Photoshop 22.3.0 is automatically significantly reduced in size. Not compacted, but a 24 mbit file is spontaneosly reduced to 1.90m. This is a recent bug which has not appeared before. I need to have the file full size.
What is the solution for the strange sudden behavior?
What is the size in pixels? That's what matters. The rest is file format, bit depth, encoding and compression.
This is the very same original file, at 7952 x 5304 pixels:
A raw file is a single channel at 12 or 14 bit depth. An uncompressed PSD is three channels, so that alone triples the file size, and in addition higher bit depth. Jpeg uses very aggressive data compression to reduce file size on disk, which can shrink to 2-5% of the PSD size.
There is a very fundamental difference between a raw file and a rendered RGB file.
Compression of RGB files affects packaged size on disk. When the file is opened, it is decompressed and returns to full native size. A file format is a storage package, when open it doesn't have a file format.