如何创建一个.jpeg图像 [英] How to create a .jpeg image
问题描述
我们知道,我们可以通过将bitmap类用作
在vb中创建位图图像
Dim bmp =位图(像素宽度",像素高度",像素格式)
但是当我保存此位图时,它会占用更多空间.
每当我将其转换为Jpeg(作为bmp.save("aa.jpg",Jpeg))并保存后,.bmp的原始数据都会丢失.
我想创建一个jpeg文件,就像我们使用上面的"dim bmp ...."命令创建了一个bmp文件一样.
并将文件另存为jpg
任何人都可以通过指定像素的高度和宽度来帮助我创建jpeg文件吗?
PLZ 请帮助我... :(
[虽然没有C#;从标签中删除]
As we know that we can create an bitmap image in vb by using the bitmap class as
Dim bmp = bitmap("Pixel Width","Pixel Height",Pixel Format)
But while I save this bitmap it takes more space .
When ever I convert it to Jpeg (as bmp.save("aa.jpg",Jpeg)) and save it the original datas of .bmp are lost.
I want to create a jpeg file just as we have created a bmp file using the "dim bmp...." command above
and save the file as jpg
Can any one help me to create a jpeg file by specifying the pixel height and width .
PLZ Please help me... :(
[No c# though; removed from the tags]
推荐答案
Google"vb.net创建jpg文件",并且在超过180万个结果中的第二个列表是此链接:
http://www.vbaccelerator.com/codelib/gfx/vbjpeg.htm [ ^ ]
Google "vb.net create jpg file", and the 2nd listing in the more than 1.8 MILLION results is this link:
http://www.vbaccelerator.com/codelib/gfx/vbjpeg.htm[^]
这篇关于如何创建一个.jpeg图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!