如何创建像 VS 2010 一样的优质启动画面?
我见过一些简洁的启动屏幕,如 VS 2010、Adobe 产品等。我知道在 VS.NET 中你可以设置透明度颜色等,但我从来没有能够让一个看起来不错但没有某种类型的启动屏幕锯齿状边缘或边缘颜色问题。例如,我可以创建一个黑色圆圈,并使用洋红色作为透明颜色,并且我已经在 Adobe PhotoShop CS4 中尝试了各种锯齿选项。
谁能指导我或者提供一个例子来说明如何制作一个像我们在 VS 2010 的启动中看到的那样的好东西?
谢谢
I've seen some neat splash screens like VS 2010, Adobe products, etc. I know in VS.NET you can set a transparency color, etc. but I have never been able to make one look nice that didn't have some type of jagged edges or color issues on the edges. For example, I could create a black circle with magenta as the transparent color and I've tried various aliasing options in Adobe PhotoShop CS4.
Can anyone steer me or provide an example of how to make a nice one like we see on VS 2010's startup?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
VS2010 作为 WPF 应用程序运行。 WPF 支持完整的 Alpha 通道透明度,因此使用 WPF 时的非矩形启动屏幕总是比使用 winform 时看起来更好。
今年早些时候,我完全因为图形功能的改进而转向 WPF。
同样在 WPF 中,制作漂亮的启动屏幕非常容易。只需以您想要的形状创建一个漂亮的 .png,并包含所有非矩形边缘、抗锯齿和透明背景。然后将此图像作为资源添加到您的项目中,并在该图像的属性对话框中,将其构建操作设置为“SplashScreen”。你完成了。当然,这是假设您切换到 WPF。
VS2010 runs as a WPF application. WPF supports full alpha channel transparency, so the non-rectangular splash screens will always look better when using WPF than when using winforms.
I made the switch to WPF earlier this year solely based on the improved graphics capabilities.
Also in WPF, making a nice splash screen is dead easy. Just create a nice .png in the shape you want with all your non-rectangular edges, anti-aliasing, and transparent background. Then add this image to your project as a resource, and in the properties dialog box for that image, set its Build Action to 'SplashScreen'. You're done. Of course, that assumes that you make the switch to WPF.
以下是一些链接,其中包含有关创建启动屏幕的一些信息
启动画面教程 1
启动画面视频教程< /a>
虽然,这些只是解释了如何制作一个,如果我正确理解了你有锯齿状边缘,我认为这听起来更像是图像不是很清晰。分辨率是否足够高,或者边缘是否像素化,这就是它们出现锯齿状的原因?
Here are some links that have some info on creating a splash screen
SplashScreen Tutorial 1
SplashScreen Video Tutorial
Although, these just explain how to make one and if I have understood correctly that you have jagged edges, I think that sounds more like the image is not very clear. Is the resolution high enough or are the edges pixelated and that is why they are jagged?