C:如何使用C将ppm转换为jpeg [英] C: How to convert ppm into jpeg using C
本文介绍了C:如何使用C将ppm转换为jpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从avi文件中捕获了.ppm文件。如何使用C进行进一步处理,将.ppm转换为.jpg?请帮助我。
I captured .ppm file from avi file. How can I convert .ppm into .jpg only using C for further processing? Please help me.
推荐答案
阅读这篇传奇文章: CxImage
它在图像处理中获取一些细节方面很有用。
如果你有一手COM,你可以尝试: http: //msdn.microsoft.com/en-us/library/windows/desktop/ee690086(v=vs.85).aspx [ ^ ]
如果您从头开始工作:在选择了位图的DC上绘制ppm。因此,在取消选择后,您将在位图中获得ppm并继续。
read this legendary article: CxImage
it served me well in fetching some details in image processing.
if you have a hand on COM you can try: http://msdn.microsoft.com/en-us/library/windows/desktop/ee690086(v=vs.85).aspx[^]
if you work from the scratch: draw the ppm on a DC in which your bitmap is selected. So you have the ppm in the bitmap after deselecting and go on.
这篇关于C:如何使用C将ppm转换为jpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文