The libjpeg library allows your C code to read, write, and manipulate image data stored in JPEG files. The image data is compressed, so the library decompresses images as they're read and compresses images as they're written. Once read, the image data can be manipulated in memory.
- [Man] The C language isn't known for its graphics prowess … unless you install a library that can access graphical data. … For reading and writing JPEG images … one such library is libjpeg. … Its home is here on GitHub … at https://github.com/windower/libjpeg … Now the documentation is good, and you can find plenty … of sample code to peruse. … You can install libjpeg from here … or you can use the shell's package manager to install … and the package you want to install is libjpeg62-dev. … Here is test code which you can build and run … to confirm the libjpeg installation. … It outputs the library's version number. … At the command prompt, type clang or the compiler name … such as GCC or CC and I specify the Wall switch … to turn all the warnings. … You link in the JPEG library right there … and then you type the source code file name. … And it compiles and links with no errors or warnings … so to run, and you see libjpeg version 62 here … the version number on your output may be different. …
- Finding, installing, and linking libraries
- Accessing and generating XML data
- Working with JSON
- Working with the libcurl library
- Text programming
- Reading, writing, and manipulating JPEG images
- Working with PNG images
Skill Level Advanced
1. Setup and Configuration
2. Data Structures
3. Web Access
4. Text Programming
5. Computer Graphics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.