Jump to content

Image Manipulation


Recommended Posts


I am developing some algorithms to do spatial resolution enhancement on Air Photoes. The scanned photo is uncompressed tiff file with about 700mb. In dot net 2, it would crash when it loads this big picture. I downloaded PaintDotNet_3_22 source code, and I could not build it to run as it is for vs 2008 professional. Could anyone point me to the right place of the source code to load and handle pixel values cell by cell?

Your inputs would be much appreciated.



Link to comment
Share on other sites

I just did a test with a 20000x10000 tiff file: I just made a white canvas of that size, saved it as tiff, and opened it again, strangely it turned into 152MB file even though the size-preview suggested it was going to be about 760MB (I guess it gets compressed). What's weirder, some random coloured vertical lines appeared on the picture, and some parts became transparent..

I guess PDN doesn't like thing that big? (oh and it uses about 3GB RAM, on a picture that would be 763MB (10000x20000x4 / (2^20)) (where ^ is exponentiation, not xor))

I would write plugins, if I knew what kind of plugins were needed.. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...