Hello,
for learning purposes I would like to know how to implement an image (and/or) pdf viewer on my own.
I'm interested in the general approach to implement such a thing.
I already read about the different formats on the net (tiff/pdf) so I found out that these files have a special format which describes where I have to look for a header, where the footer is and where the image information (in decrypted form) is.
Because I think such a viewer works sth. like:
- opening the file
- reading different file information (header, footer, etc.)
- "translate" pixel positions
I need to know, how to get the pixel positions (in case of a tiff file).
How to create this as a control? Where do I have to put the pixels onto?
Feel free to correct me if I'm wrong, because ATM I don't really have an idea and everything is just speculation.
Regards,
inno
P.S.: I would prefer a solution in C#, but if it's in another language, it's ok, too. Platform should be Microsoft Windows (first of all).
P.P.S.: It should work without an already installed pdf-/viewing-application.