Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to convert a jpg to a DIB or DDB

0 views
Skip to first unread message

Erick Kobres

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
Does anyone have/know of a good royalty free C++ library or some example C++
source to render a jpeg image into a DIB or DDB so I can display a jpeg as
easily as I can display a BMP?

I know Win98 and Win2K support jpeg natively using StretchDIBits() or
SetDIBitsToDevice(), but I need this to work with NT4 and Win95.

I really don't want to have to roll my own jpeg renderer, as I'm sure others
have well-tuned code that works.

Thanks!

-Erick Kobres

Jackson Yee

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
PaintLib at www.paintlib.de should suit your purposes.

Regards,
Jackson Yee
http://jacksonyee.welcome.to/
E-mails will be ignored unless requested.

"Erick Kobres" <Erick....@NCR.com> wrote in message
news:3a27f76a$1...@rpc1284.daytonoh.ncr.com...

Floris van den Berg

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
"Erick Kobres" <Erick....@NCR.com> wrote in message
news:3a27f76a$1...@rpc1284.daytonoh.ncr.com...
> Does anyone have/know of a good royalty free C++ library or some example
C++
> source to render a jpeg image into a DIB or DDB so I can display a jpeg as
> easily as I can display a BMP?
>
> I know Win98 and Win2K support jpeg natively using StretchDIBits() or
> SetDIBitsToDevice(), but I need this to work with NT4 and Win95.
>
> I really don't want to have to roll my own jpeg renderer, as I'm sure
others
> have well-tuned code that works.

FreeImage. http://home.wxs.nl/~flvdberg

Floris
>
> Thanks!
>
> -Erick Kobres
>
>

Herbert Kleebauer

unread,
Dec 4, 2000, 3:00:00 AM12/4/00
to
In article <3a27f76a$1...@rpc1284.daytonoh.ncr.com> "Erick Kobres" <Erick....@NCR.com> writes:
>From: "Erick Kobres" <Erick....@NCR.com>
>Subject: How to convert a jpg to a DIB or DDB
>Date: Fri, 1 Dec 2000 14:11:00 -0500

>Does anyone have/know of a good royalty free C++ library or some example C++
>source to render a jpeg image into a DIB or DDB so I can display a jpeg as
>easily as I can display a BMP?

C-source of a very simple jpeg decoder:

ftp://137.193.64.130/pub/jpeg/pfp.zip

Vladimir Dudnik

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
look at Intel JPEG library.
http://developer.intel.com/software/products/perflib/ijl


"Erick Kobres" <Erick....@NCR.com> сообщил/сообщила в новостях следующее:
news:3a27f76a$1...@rpc1284.daytonoh.ncr.com...


> Does anyone have/know of a good royalty free C++ library or some example
C++
> source to render a jpeg image into a DIB or DDB so I can display a jpeg as
> easily as I can display a BMP?
>

> I know Win98 and Win2K support jpeg natively using StretchDIBits() or
> SetDIBitsToDevice(), but I need this to work with NT4 and Win95.
>
> I really don't want to have to roll my own jpeg renderer, as I'm sure
others
> have well-tuned code that works.
>

> Thanks!
>
> -Erick Kobres
>
>

Bryan Mau

unread,
Dec 27, 2000, 3:00:36 PM12/27/00
to
FreeImage is a nice library ( http://home.wxs.nl/~flvdberg ). If you
want some additional code to read from the resource fork using the
freeimage please look at my diary entry:

http://www.cyberbrinedreams.com/main/diary/#Nov_20_2000

Regards,

Bryan

0 new messages