POV-Ray : Newsgroups : povray.off-topic : Low-level fun : Re: Low-level fun Server Time
28 Sep 2024 19:16:27 EDT (-0400)
  Re: Low-level fun  
From: Mike Raiford
Date: 20 Sep 2009 09:25:14
Message: <4ab62d3a$1@news.povray.org>
Orchid XP v8 wrote:
> So now I'm wondering if Windows provides any easy way to load and save 
> bitmapped images. GDI appears to allow you to load and save in Windows 
> Bitmap format - arguably amoung the worst file formats *ever*. But what 
> about something more sane?

Look for GDI+ It's applicable to Windows XP and higher. It's 
object-oriented, and designed to work with C++, iirc, so will need C++ 
in order to use it, though I think they have C wrappers.

> 
> ...so now I'm trying to figure out what the hell COM is. :-/
> 

Component Object Model ;)

Essentially it was supposed to be a cross-language way of dealing with 
things in an object-oriented manner. It looks very intimidating at 
first, but once you get the hang of it, it's really not too bad. 
Building the C/C++ headers from the IDL files is rather easy using the 
#import directive, though some have dependencies you'll have to import 
as well.

Have fun ;) I did this sort of programming for quite a long time, both 
on the component side, and the application side.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.