适用于Alpha图像的正确图像格式? [英] Proper image format to use for Alpha images?

查看:75
本文介绍了适用于Alpha图像的正确图像格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有人。我在photoshop中使用半透明像素创建的图像(用于Photoshop文本中的
实例,带有透明画布的阴影)我已经以PNG格式保存了
然后使用

图片框控件在我的VB.NET应用程序中使用它们。当我得知您可以在VB.NET中使用

PNG图像时,我真的很开心,因此您的图像可以与表格'

背景颜色融为一体。但是,PNG是使用这些

类型图像的理想图像格式吗?我不知道是否还有一些其他格式是建议用于除PNG以外的Alpha图像。


没什么大不了的,只是好奇。谢谢。


Andrew

解决方案

*" Andrew Christiansen" <无垃圾邮件> scripsit:

嘿所有。我在photoshop中使用半透明像素创建的图像(用于Photoshop文本中的实例,带有透明画布的阴影)我已经保存为PNG格式,然后在我的VB中使用它们。 NET应用程序使用
图片框控件。当我了解到你可以在VB.NET中使用
PNG图像时,我真的很开心,所以你的图像可以融入窗体的'
背景颜色。但是,PNG是使用这些类型图像的理想图像格式吗?我不知道是否有其他格式建议用于除PNG以外的Alpha图像。




为什么不呢?如果PNG符合您的要求,它就是完美的。就我个人而言,我喜欢PNG格式,而不喜欢GIF或JPEG格式。


-

Herfried K. Wagner [ MVP]

< http://www.mvps.org/dotnet>


你为什么喜欢它?
<问候 - OHM


Herfried K. Wagner [MVP]写道:

*" Andrew Christiansen" <无垃圾邮件> scripsit:

嘿所有。我在Photoshop中用半透明像素创建的图像(例如在Photoshop文本中带有带有透明画布的阴影)我一直在保存PNG格式然后使用
它们在我的VB.NET应用程序中使用picturebox控件。当我了解到你可以在VB.NET中使用PNG图像时,我真的非常高兴,因此你的图像可以融入表格的背景颜色。但是,PNG
是与这些类型的图像一起使用的理想图像格式吗?我不知道是否有其他格式建议用于除PNG以外的Alpha
图像。



为什么不呢?如果PNG符合您的要求,它就是完美的。就个人而言,我喜欢PNG格式,喜欢GIF或JPEG格式。




问候 - OHM #OneHandedMan {at} BTInternet {dot} com


*" One Handed Man [OHM#]" < OneHandedMan {在} BTInternet {点} COM> scripsit:

你为什么喜欢它?




这是一种开放且非常灵活的格式。

-

Herfried K. Wagner [MVP]

< http://www.mvps.org/dotnet>


Hey all. The images I create in photoshop with semi-transparent pixels (for
instance in Photoshop text with a dropshadow with a transparent canvas) I''ve
been saving in PNG format and then using them in my VB.NET app using the
picturebox control. I was really happy when I learned that you could use
PNG images in VB.NET so your images could blend in with the form''s
background color. But, is PNG the ideal image format to use with these
types of images? I don''t know if there is some other format that is
recommended for Alpha images other than PNG.

No big deal, just curious. Thanks.

Andrew

解决方案

* "Andrew Christiansen" <no-spam> scripsit:

Hey all. The images I create in photoshop with semi-transparent pixels (for
instance in Photoshop text with a dropshadow with a transparent canvas) I''ve
been saving in PNG format and then using them in my VB.NET app using the
picturebox control. I was really happy when I learned that you could use
PNG images in VB.NET so your images could blend in with the form''s
background color. But, is PNG the ideal image format to use with these
types of images? I don''t know if there is some other format that is
recommended for Alpha images other than PNG.



Why not? If PNG fits your requirements, it''s perfect. Personally, I
like the PNG format and prefer it to GIF or JPEG.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Why do you prefer it ?

Regards - OHM

Herfried K. Wagner [MVP] wrote:

* "Andrew Christiansen" <no-spam> scripsit:

Hey all. The images I create in photoshop with semi-transparent
pixels (for instance in Photoshop text with a dropshadow with a
transparent canvas) I''ve been saving in PNG format and then using
them in my VB.NET app using the picturebox control. I was really
happy when I learned that you could use PNG images in VB.NET so your
images could blend in with the form''s background color. But, is PNG
the ideal image format to use with these types of images? I don''t
know if there is some other format that is recommended for Alpha
images other than PNG.



Why not? If PNG fits your requirements, it''s perfect. Personally, I
like the PNG format and prefer it to GIF or JPEG.



Regards - OHM# OneHandedMan{at}BTInternet{dot}com


* "One Handed Man [ OHM# ]" <OneHandedMan{at}BTInternet{dot}com> scripsit:

Why do you prefer it ?



It''s an open and very flexible format.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


这篇关于适用于Alpha图像的正确图像格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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