writing area on big picture without loading the image into memory
Posted: 2018-11-16T14:43:34-07:00
Hello,
I have a picture of 1000k x 1000k pixels.
The picture may come in format jp2 or tif.
I want to write a block of area, i.e 30k x 30k on the big picture (don't has to be that size exactly - if I can write to specific areas, such as tiles - it's ok), without load the picture into memory.
I heard about tiles (the picture is actualy breaking parts of it), so I can handle each tile seperately.
I don't know much about tiles and how doing that.
I need solution for C# that can load the only specific part into memory and can save that part back into the big picture file.
How can I do that?
Thanks.
I have a picture of 1000k x 1000k pixels.
The picture may come in format jp2 or tif.
I want to write a block of area, i.e 30k x 30k on the big picture (don't has to be that size exactly - if I can write to specific areas, such as tiles - it's ok), without load the picture into memory.
I heard about tiles (the picture is actualy breaking parts of it), so I can handle each tile seperately.
I don't know much about tiles and how doing that.
I need solution for C# that can load the only specific part into memory and can save that part back into the big picture file.
How can I do that?
Thanks.