You are wrong about this.
video/image processing is all done in memory.
If you apply modifications, the computer has to open the file [ the whole thing ], uncompressing it, bigger your image/movie is, more ram/HD space it will require to process the work.
For example, if you have a 5 mb...