Jump to content

[WinAPI]Pliki obrazu.


Override

Recommended Posts

Environment: C, WIN32 API

 

Most Win32 API developers use a static control (with style SS_ICON or SS_BITMAP)to load bitmap and icon files. To advance the support for more image formats, some use third-party libraries such as CXImage (as far I remember the name). Wouldn't it be better to use native control and routines to load BMP, PNG, GIF, JPEG, WMF, ICO, and EMF files in Windows programs? I hope you say yes!

 

Note: The progrm must be linked with OLE32 and comctl32 library files.

"(2b || !(2b)) == question" W. Shakespeare

http://jakubniwa.pl - świat sztucznej inteligencji

Link to comment
Share on other sites

Jeżeli zależy Ci na Czystym WinApi, bez używania "obcych" bibliotek itp. to polecam napisać sobie ręczne wczytywanie PNG.

 

Budowę tego i wielu innych formatów znajdziesz na stronie Janusza Ganczarskiego link

Prawdziwy programista wiesza sie wraz ze swoim programem.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...