Pergunta

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

Foi útil?

Solução

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.

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top