Search code examples
clinuxbmp

How to resize bmp image on C?


For jpeg,gif,png I use libgd. ( not ImageMagick - it's not possible ). May I resize bmp image using simple method/library ?


Solution

  • Most of the libraries that deal with image resizing represent the image as a bitmap (i.e. an uncompressed array of pixels) internally. So it wouldn't be very hard to read in a bitmap image from a file and put it in memory.