Re: What about JPEG, GIF, etc.!!

From: Michael K. O'Neill (mikeathon2000_at_nospam.hotmail.com)
Date: 01/18/05


Date: Mon, 17 Jan 2005 20:45:02 -0800

The patent on GIF (which was held by Unisys) expired about two years ago.

I think GDI+ supports both JPEG and GIF natively. See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/usingGDIPlus/usingimageencodersanddecoders.asp

Regards,
Mike

"William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
news:upUgTfO$EHA.2568@TK2MSFTNGP11.phx.gbl...
> "playwin" <playwin@discussions.microsoft.com> wrote in message
> news:u3Px5DO$EHA.2568@TK2MSFTNGP10.phx.gbl...
> > Well that's might allright for MFC, But for NON-MFC inserting a COM
object
> > is a pain itself!(atleast to me).
>
> It is a pain for me, too. :-)
>
> Unfortunately if you don't want to use an existing component cast in COM
you
> have either to bite the bullet and write some (lots?) of code or buy a
> solution.
>
> I chose to make use of the free JPEG library of the Independent JPEG group
> available at http://www.ijg.org. It's nothing I can share, but if I
remember
> correctly created a memory "source" which copied the contents of a file to
> memory and passes it through their decompression engine. I copied the
output
> of the engine, a scan line at a time to a device independent bitmap and
then
> used plain vanilla GDI to display the bitmap. It wasn't horrendous task
but
> it wasn't a half-hour's work either.
>
> I didn't look at the GIF format because I wanted to use a "royalty free"
> format and I'm not sure of the legal issues with the patented GIF
> algorithms.
>
> Regards,
> Will
>
>



Relevant Pages

  • Re: What about JPEG, GIF, etc.!!
    ... The patent on GIF expired about two years ago. ... I think GDI+ supports both JPEG and GIF natively. ... Regards, ...
    (microsoft.public.vc.mfc)
  • Re: Cropping or extracting ellipse from image
    ... JPEG images only save with 24 bits per pixel. ... The only way out is to save as GIF which brings up the issue of palette ... Answer those GDI+ questions with the GDI+ FAQ ... It just seems like the transparency isn't working. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Drawing Text onto Image
    ... You can definitely get better image quality from GIF than from a JPEG of the ... The problem arises however when GIF is saved from GDI+ using the standard ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Save an Image to a file
    ... saving an image to jpeg or gif. ... Best regards, ... a collection of source code, ...
    (comp.lang.java.programmer)
  • Re: Background of text is mottled
    ... MarkMurphy wrote: ... I've tried output to jpeg and gif but result is the same. ... Regards, ...
    (microsoft.public.dotnet.framework.aspnet)