Re: Need to save a bitmap in some standard graphics file format

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Mike Silva" <snarflemike@xxxxxxxxx> wrote in message news:335c9124-80a0-44a8-bfc8-a22f30d7fade@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I have bitmaps (they are specialized CD labels) that I construct in a
DC, and I need to then be able to write them in some standard graphics
file format so they can be imported by typical CD printing software.
There are no images in these bitmaps, only text, lines and arcs. So I
am looking for an easy, quick way to save these bitmaps to a suitable
file. I was thinking .PNG might be the right choice, but I'm open to
whatever works. This is for an in-house utility so quick and easy is
especially important. Any suggestions on how to proceed? Thanks.

BTW, I really do have to generate the labels programatically based on
some mathematical data, so I can't use any standard graphics package
to generate the files.

There's a library somewhere on SourceForge called "FreeImage" which will translate bitmaps into just about any format you'd ever need. I think it include PNG.

Dave
--
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mozartists/mailinglist.htm

.



Relevant Pages

  • Re: Need to save a bitmap in some standard graphics file format
    ... and I need to then be able to write them in some standard graphics ... There are no images in these bitmaps, only text, lines and arcs. ...  I was thinking .PNG might be the right choice, ... I really do have to generate the labels programatically based on ...
    (microsoft.public.vc.mfc)
  • Need to save a bitmap in some standard graphics file format
    ... and I need to then be able to write them in some standard graphics ... There are no images in these bitmaps, only text, lines and arcs. ... I was thinking .PNG might be the right choice, ... I really do have to generate the labels programatically based on ...
    (microsoft.public.vc.mfc)
  • Re: drawing a line
    ... The BMP file format is - ... import bitmaps that are upside down. ... can't even parse their own file format. ...
    (comp.lang.c)
  • Re: drawing a line
    ... The BMP file format is - ... import bitmaps that are upside down. ... can't even parse their own file format. ...
    (comp.lang.c)
  • Re: Need to save a bitmap in some standard graphics file format
    ... I have bitmaps (they are specialized CD labels) that I construct in a ... There are no images in these bitmaps, only text, lines and arcs. ... the choice of file format depends on what kind of files your label ... a stream of GDI commands (the file contains the actual GDI commands to draw ...
    (microsoft.public.vc.mfc)