How do I read JPEG and PNG pixels in C++ on Linux?

后端 未结 9 2374
北荒
北荒 2020-12-04 18:34

I\'m doing some image processing, and I\'d like to individually read each pixel value in a JPEG and PNG images.

In my deployment scenario, it would be awkward for me

9条回答
  •  无人及你
    2020-12-04 18:43

    Since the other answers already mention that you will most likely need to use a library, take a look at ImageMagick and see if it is possible to do what you need it to do. It comes with a variety of different ways to interface with the core functionality of ImageMagick, including libraries for almost every single programming language available.

    Homepage: ImageMagick

提交回复
热议问题