Yes, of course, your images are uploaded in original sizes.
Cook create thumbs (copies) and put them in same folder with a '.' before (hidden file on UNIX)
You can decide to allow or not the physical thumb file creation.
If not, the image is outputed resized to optimize the file transfert. But using this functionality (not physical), you will use more CPU to generate.
For security, in both cases, you restrict the possible sizes, in order to :
- Do not allow attacks, creating too much thumbs
- Do not allow resizing incredible huge sizes and consuming CPU (DDOS)
Now, in your case, if you do not want to keep the original file :
- Delete it
- Replace the file by its generated thumb
(For this, my advice is to add a parameter, so you will be able to use it natively, or replacing file from anywhere in your component)
Hope it helps.