缇与像素 [英] Twips vs pixels

查看:79
本文介绍了缇与像素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很好奇什么是用于开发的最佳方法。我创建了一些应用程序,在处理图形时有不同的结果。在某些系统上,图形看起来很好,而在其他系统上则不正确。我想知道什么是
最好使用,如果有一个功能或其他任何东西,以确保图形将正确显示,无论使用何种系统或监视器。我是相当新的,但你可以提供的任何建议或链接都​​可以大大
赞赏。感谢您的时间和任何建议

I am curious as to what is the best method to using for development. I have created a few apps and have had different results when dealing with graphics. On some systems the graphics look fine and on others they are not correct. I was wondering what is best to use and if there is a function or anything else out there to insure the graphics are going to be displayed correctly regardless of the system or monitor used. I am fairly new to this but anything you can advise or links you can provide would be greatly appreciated. Thank you for your time and any advice you have

推荐答案

您好oohrah,

Hi oohrah,

感谢您在此发帖。

关于图形和像素,我认为你应该知道一些格式,例如jpg jpeg png bmp。然后你可以使用开放的库来解析这些格式并从代码中调试。

About the graphic and pixel, I think that you should know some format, for example jpg jpeg png bmp. then you can use the open library to parse these format and debug from the code.

您可以尝试使用 libjpeg库。

对于图形,您可以使用 openCV
openGL。

For graphic, you could use the openCV or openGL.

OpenCV(开源计算机视觉库)在BSD下发布许可证,因此它可以免费用于学术和商业用途。它具有C ++,C,Python和Java接口,支持Windows,Linux,Mac OS,iOS和Android。

OpenCV (Open Source Computer Vision Library) is released under a BSD license and hence it’s free for both academic and commercial use. It has C++, C, Python and Java interfaces and supports Windows, Linux, Mac OS, iOS and Android.

如果你想制作播放视频的工具,你可以使用
ffmpeg library。
功能; 

If you want to make tool to play video, you can use the ffmpeg library.   

您知道MSDN论坛是免费的。很多人都想为自己的问题找到解决方案。

如果您的问题已经解决,我希望您能将有用的帖子标记为对同样问题的其他人有帮助的答案。

You know that MSDN forum is free. So many people wants to find a solution for their own problems.
If your issue has been resolved, I wish you can mark useful posts as answer that can be helpful for other person with same issue.

最好的问候,

Hart


这篇关于缇与像素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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