Working with proprietary image formats ...

  • Thread starter Thread starter Christopher Kurtis Koeber
  • Start date Start date
C

Christopher Kurtis Koeber

Dear All,
Recently I created a thread about trying to load a particular ICON image
that GDI plus could not load. I realized that GDI plus definitely does not
support it because it had a certain resolution that is not in any of its
built in format libraries. So my question is this, how would I go about
working with images that are not in GDI+ native libraries, such as raw
camera files (*.RAW, etc.), Pixar's file format, and plenty of other
formats? I am guessing that I will have to write my own code to deal with
these files. Has anyone ever working with these proprietary files and how
so? Thanks in advance!
Sincerely,
Christopher Koeber
 
Hi Christopher,

If you can't find a 3rd party library that can do this for you then you'll
need to write your own. First you need to find the file format. Once you
have that you should be able to load it into a byte array and then display
it from there. Most picture formats include a header that tells you about
the image (i.e. color depth, width, height, and etc.) Once you have that
you can open up the file, read in the information telling you what it looks
like, and then load the image into that byte array. Contacting the creators
of the file format is a good first step, if they don't provide that
information then you'll need to scower the web for information on it. Good
luck! Ken.
 
Man, this is going to be a lot of work!!!...... Thanks for the help!!
Christopher Koeber
 
Well, I want to create an image editor that can work with many formats while
harnessing the power of GDI+.
 
Damm, my school didn't do anything cool like that. The only classes they had
available were for learning how to use Microsoft Office for beginners. Looks
like I will have to do something on my own for this school, as usual....

Thanks Ken, great link!
Christopher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top