Hello everyone
I would like to now, how changes in a png file is written on the hdd platter, when you use paint.
If I make a file, open the file, make a change and save. Is the whole file written again (the whole picture you have drawn), or is it only the changes to the file that is written?
Does the head only write the changes in bytes? Or does the head write all the bytes again?
For example:
Original file: 00001111 00001111 00001111
Changed file: 00001111 00001111 00000000
When I press save, does it write all three bytes again, or does it only write the third and last byte?
Lets say I have drawn a monkey and press save as. I then open the file, draws a banana in the monkeys hand and press save. Does the head then write the monkey and banana on the platter, or does it only write the banana?
When I open a file, the system makes a buffer of the file, when I make a change and save, does the buffer then replace the original file or only the changes made?
Secondly, if I open a png file in paint, doesn't change anything, but still press save, does the buffer replace and overwrite the orginal file?
Hope it makes sende
Thanks alot in advance!
Best regards
Emil
I would like to now, how changes in a png file is written on the hdd platter, when you use paint.
If I make a file, open the file, make a change and save. Is the whole file written again (the whole picture you have drawn), or is it only the changes to the file that is written?
Does the head only write the changes in bytes? Or does the head write all the bytes again?
For example:
Original file: 00001111 00001111 00001111
Changed file: 00001111 00001111 00000000
When I press save, does it write all three bytes again, or does it only write the third and last byte?
Lets say I have drawn a monkey and press save as. I then open the file, draws a banana in the monkeys hand and press save. Does the head then write the monkey and banana on the platter, or does it only write the banana?
When I open a file, the system makes a buffer of the file, when I make a change and save, does the buffer then replace the original file or only the changes made?
Secondly, if I open a png file in paint, doesn't change anything, but still press save, does the buffer replace and overwrite the orginal file?
Hope it makes sende
Thanks alot in advance!
Best regards
Emil

