📄 bmpfile.java
字号:
package org.trinet.util.graphics;
import java.awt.*;
import java.io.*;
import java.awt.image.*;
// from: http://www.javaworld.com/javaworld/javatips/jw-javatip60.html
/*
Summary
Although Java provides several mechanisms for opening images, saving
them is not one of its strengths. This tip will teach you how to save an
image in a 24-bit bitmap file. Plus: Jean-Pierre provides all the code
necessary to write a bitmap file from an image object. (1,500 words)
By Jean-Pierre Dub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -