将位图转换为GIF或JPG [英] Converting Bitmap to GIF or JPG

查看:178
本文介绍了将位图转换为GIF或JPG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有关于如何在C中将位图转换为GIF或JPG的代码示例?我无法使用CxImage,因为我正在为Linux和Windows编写代码.

谢谢..

I was wondering if there is any code sample on how to convert bitmaps to GIF or JPG in C? I couldn''t use CxImage cause I''m writing code for Linux and Windows.

thanks..

推荐答案

尝试 ImageMagick .它可以在Linux和Windows上运行,并且支持多种格式的转换,包括gif,jpeg anf bmps.
Try ImageMagick. It works both on Linux and Windows and it supports conversions of a wide range of formats including gif, jpeg anf bmps.


这篇关于将位图转换为GIF或JPG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆