import java.awt.Toolkit; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.awt.image.BufferedImage; import java.io.IOException;
透過錯誤經驗,分享科技與遊戲當中的技術,提醒自己及瀏覽此網誌的人,避免踏進相同的陷阱。
本網誌只提供技術概要及合法軟件連結(如有)。
如閣下因下載、安裝、設定資料等操作,導致任何損失,請自行承擔風險及處理,在下不會負責。
2010-05-09
利用 Java 採取系統剪貼板的圖像 (Use Java to capture image from system clipboard)
Labels:
Image
,
Java
,
programming
2010-05-08
利用 Java 採取畫面圖像 (Use Java to capture the system screen image)
import java.awt.AWTException; import java.awt.Rectangle; import java.awt.Robot; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.IOException;
Labels:
Image
,
Java
,
programming
2010-04-16
利用 Java 改變圖像的色相 (Use Java the edit the Hue value of an image)
import java.awt.image.BufferedImage; import java.awt.Color;
2010-04-07
利用 Java 以不同形狀合併圖像 (Use Java to combine 2 images with a shape of area)
import java.awt.image.BufferedImage; import java.awt.Graphics2D; import java.awt.geom.Ellipse2D;
Labels:
Image
,
Java
,
programming
利用 Java 以不同形狀剪裁圖像 (Use Java to cut a shape of area from an image)
import java.awt.image.BufferedImage; import java.awt.Graphics2D; import java.awt.Color; import java.awt.Polygon; import java.awt.Rectangle; import java.awt.geom.Ellipse2D;
Labels:
Image
,
Java
,
programming
2010-04-06
利用 Java 反轉圖片 (Use Java to reverse an image)
import java.awt.image.BufferedImage;
Labels:
Image
,
Java
,
programming
2010-04-05
利用 Java 旋轉圖片 (Use Java to rotate an image)
import java.awt.image.BufferedImage; import java.awt.Graphics2D; import java.awt.Color; import java.awt.geom.AffineTransform;
Labels:
Image
,
Java
,
programming
利用 Java 將圖像合併 (Use Java to combine 2 images)
import java.awt.image.BufferedImage; import java.awt.Graphics2D;
Labels:
Image
,
Java
,
programming
利用 Java 將圖像轉換成負片效果 (Use Java to edit an image to negative)
import java.awt.image.BufferedImage; import java.awt.Graphics2D;
Labels:
Image
,
Java
,
programming
利用 Java 改變圖像畫布的闊及高 (Use Java to edit the canvas of an image)
import java.awt.image.BufferedImage; import java.awt.Graphics2D; import java.awt.Color;
Labels:
Image
,
Java
,
programming
2010-04-03
利用 Java 為圖像添加邊緣(Use Java to trim an image )
import java.awt.image.BufferedImage; import java.awt.Graphics2D; import java.awt.Color;
Labels:
Image
,
Java
,
programming
利用 Java 過濾圖像的色彩頻道 (Use Java to filter the color channel of an image)
import java.awt.image.BufferedImage; import java.awt.Color;
利用 Java 將圖像轉換成灰度圖像 (Use Java to edit an image to grayscale)
import java.awt.image.BufferedImage; import java.awt.Graphics2D;
Labels:
Image
,
Java
,
programming
2010-04-02
在 Java 正確複製 BufferedImage 的圖像資料 (Correct way to copy BufferedImage data from Java)
import java.awt.image.BufferedImage
Labels:
Image
,
Java
,
programming
利用 Java 剪裁圖像的指定範圍 (Use Java to cut a rectangle of area from an image)
import java.awt.image.BufferedImage; import java.awt.Graphics2D; import java.awt.Color;
Labels:
Image
,
Java
,
programming
利用 Java 改變圖像的闊及高 (Use Java to edit an image width and height)
import java.awt.image.BufferedImage; import java.awt.Graphics2D;
Labels:
Image
,
Java
,
programming
訂閱:
文章
(
Atom
)