S
S
shoco2013-12-12 11:03:45
C++ / C#
shoco, 2013-12-12 11:03:45

How to open jpg image in c++ without using third party libraries?

So that you can upload a picture, for example, in opengl and so on.
Please tell me where I can read about it.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
AxisPod, 2013-12-12
@shoco

No third party libraries at all. Even the specified IPicture is essentially a third-party lib (although I would recommend using the Windows Imaging Component instead). On the other hand, specifically on OpenGL in the same Google, you can find so many things. Even the official opengl wiki advises to use libjpg.

R
Rio, 2013-12-12
@Rio

What are we programming for? If under Windows, then there is an IPicture interface .

C
ComodoHacker, 2013-12-12
@ComodoHacker

Copy-paste code from libjpeg? :)

T
Trrrrr, 2013-12-15
@Trrrrr

There is a pretty nice OpenIL lib.
www.gamedev.ru/code/articles/OpenIL
And yes, a lot of code needs to be tweaked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question