我需要在eclipse编辑器的控制台中显示我的图像是否有可能 [英] i need to display my image in the console of eclipse editor is it possible

查看:79
本文介绍了我需要在eclipse编辑器的控制台中显示我的图像是否有可能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了一个用于加密图像的代码,我的加密图像将与实际图像类似,但像素强度差异很小,我需要在我的控制台上显示此图像。我正在使用eclipse编辑器。你可以建议任何方法

I have written a code for encrypting the image my encrypted image will be similar to the actual image but with little difference pixel intensities i need to display this image on my console.I am using eclipse editor for this.can you please suggest any methods for that

推荐答案

编辑器应该如何显示图形?



你可以打开一个类似油漆的图形程序并命令这样做:



How should an editor be able to display a graphic?

You can open an graphic program like paint and order to do so:

new ProcessBuilder("mspaint","yourFileName.jpeg").start();





这将是最好将它包装在try / catch中。



It would be a good idea to wrap that in a try/catch.


这篇关于我需要在eclipse编辑器的控制台中显示我的图像是否有可能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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