mdc.html
来自「java编程的一些Applets例子。值得深入研究一下。」· HTML 代码 · 共 66 行
HTML
66 行
<html>
<head>
<title>ImageProcessor.html</title>
<meta name="GENERATOR" content="Mozilla/2.01Gold (Win32)">
</head>
<body>
<h1 align=center>Image Processor</h1>
<p>
<hr><applet code=ProcessorApp.class width=800 height=260></applet>
<hr></p>
<p>Applet Name: Image Processor
<br>Applet Source: <a href="ProcessorApp.java">ProcessorApp.java
<br></a>Import(s): java.awt, java.lang, java.awt.image
<br>Feature(s): GUI, image, mouse
<br>Author: <a href="mailto:kelly.l.dempski@ac.com">Kelly Dempski</a></p>
<p><b><font SIZE=+2>Usage Guide:
<br>
<br></font></b>Right now, the applet can adjust brightness and contrast
up and down, grayscale, negative, sharpen, and adjust hue (marked as "other").
All operations are cumulative, so you must either reload the applet between
filters or just undo the changes (ie. Brightness- after Brightness+) if
you want to see the lone effects of each filter. </p>
<p>Currently, the code exists (but not necessarily buttons) for any one
of the following functions:
<br>
<br>Adjust brightness (by any value in any channel (R, G, or B)</p>
<p>Adjust contrast (by any value in any channel (R, G, or B)
<br>
<br>Adjust Hue, Saturation, or Brightness by any value </p>
<p>Blur, Sharpen, find edges, etc. (Any convolution filter by any value
and any matrix size with offsets, etc.) </p>
<p>Grayscale </p>
<p>Negative </p>
<p>Solarize </p>
<p>Expanded special effects like Diffuse (similar to a watercolor look)
</p>
<p>Actually, the way the code is set up, any filter that you would see
in something like PhotoShop could be fairly easily implemented without
too much new code. I used LViewPro as a benchmark for which filters I implemented.
<br>
<br>Here is the applet tag as it appears in this HTML document:
<br>
<br><applet code=ProcessorApp.class width=800 height=260>
<br></applet>
<br>
<br></p>
<center><p>
<hr><a href="../index.html"><img src="../images/mantoid.gif" alt="Return to index." border=0 height=109 width=109></a></p></center>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?