Bdfy
Bdfy

Reputation: 24621

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 ?

Upvotes: 0

Views: 1604

Answers (2)

Blagovest Buyukliev
Blagovest Buyukliev

Reputation: 43508

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.

Upvotes: 1

nmichaels
nmichaels

Reputation: 50941

If you can't use ImageMagick, the easiest way to resize a bitmap is GraphicsMagick.

Upvotes: 0

Related Questions