E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
ImageIo
简单的屏幕截图
importjava.awt.Robot;importjava.awt.Toolkit;importjava.awt.image.BufferedImage;importjava.io.File;importjavax.
imageio
.
ImageIO
zhangao0086
·
2011-04-16 19:00
exception
String
image
File
Class
import
图像压缩(大二)····
import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import javax.
imageio
.
ImageIO
microapple
·
2011-04-11 11:00
压缩
Java Web开发中验证码的实现(JSP验证码)
Jsp或者JavaWeb开发中通常用Java的Graphics绘制验证码图片然后用
ImageIO
输出为Jpg等格式的图片再通过Session来验证输入内容与验证码内容的一致性。
mzba520
·
2011-04-07 14:00
Java
Web
JSP
Servlet
Cache
Java Web开发中验证码的实现(JSP验证码)
Jsp或者Java Web开发中通常用 Java 的 Graphics 绘制验证码图片然后用
ImageIO
输出为Jpg等格式的图片再通过Session来验证输入内容与验证码内容的一致性。
mzba520
·
2011-04-07 14:00
java
jsp
Web
servlet
cache
java九宫格切割缩放并合并
File out,String name,int rtype,int cw,int ch,int w,int h) throws Exception { BufferedImage bimg0 =
ImageIO
.read
dlcoco9999
·
2011-03-22 14:00
java
cache
JSP实现数字验证码
.*,javax.
imageio
.*" %><%@ page import="java.io.OutputStream" %><%!
xxlovewei
·
2011-03-20 13:00
java
jsp
cache
OS
JDesktopPane设置背景图片的方法
ImageIcon backgroundImg; /** * 加载背景图片 */ try { backgroundImg =
ImageIO
.read
ghl116
·
2011-03-19 10:00
Desktop
Java图行验证码
.*,javax.
imageio
.*"%> <%/*使用方法:在需要显
zhangjiankun880
·
2011-03-15 09:00
java
cache
Java在线视频聊天
*;importjavax.
imageio
.*;importjavax.swing.*;importjavax.media.*;importjavax.me
zhy000
·
2011-03-10 12:53
java
职场
休闲
视频聊天
java servlet 实现验证码
.*; import javax.
imageio
.*; import javax.j
hybxiaodao
·
2011-03-05 23:00
java
jsp
servlet
cache
OS
一个JAVA图形缩放处理工具类
调用的例子 import java.io.FileOutputStream; import java.io.IOException; import javax.
imageio
.
ImageIO
冷静
·
2011-03-03 20:00
java
ios
linux
unix
Java实现缩略图的方法
赵永恩 import javax.
imageio
.
ImageIO
; import java.awt.image.BufferedImage; import java.awt.image.ColorModel
zyengogo
·
2011-03-02 11:00
java
sql
jsp
sun
Java实现缩略图的方法
方法1:[第一种方法比后一种生成的缩略图要清晰] import javax.
imageio
.
ImageIO
; import java.awt.image.BufferedImage
lgs0626
·
2011-03-01 09:00
java实现
使用JAVA生成图片
.*; import javax.
imageio
.*; import java.awt.font.*; import java.awt.geom.*; public class CreateImage
zhouzilong502086525
·
2011-02-28 20:00
java压缩图片,存为本地文件
然后压缩图片,再存为本地文件压缩图片很简单,关键是把ImageIcon保存为本地图片废了好些力气我的解决方法是将ImageIcon写入BufferedImage,然后调用标准的图片保存方法:javax.
imageio
.
ImageIO
.write
zhouzilong502086525
·
2011-02-28 19:00
验证码
import java.awt.Graphics; import java.awt.image.BufferedImage; import java.util.Random; import javax.
imageio
.
ImageIO
sd8089730
·
2011-02-28 11:00
apache
servlet
struts
MyEclipse
cache
JAVA 验证码解决方案汇总
importjava.awt.Graphics2D; importjava.awt.image.BufferedImage; importjava.util.Random; importjavax.
imageio
.
ImageIO
gaozzsoft
·
2011-02-21 22:00
JavaScript
java
servlet
cache
mobile
javax.
imageio
.IIOException: Can't create output stream! (生成验证码Servlet)
在 web.xml里面加入下面的代码: validatecode webapp.servlet.ValidateCodeServlet validatecode /images/validatecode.jpeg servlet类: importjava.awt.Color;importjava.awt.Font;imp
cuker919
·
2011-02-15 12:00
servlet
Stream
image
Random
output
如何写一个QImage plugin
http://doc.qt.nokia.com/qq/qq17-
imageio
.htmlWritingaQtImagePluginbyKentHansenTheQtimageI/OAPIprovidesahigh-levelAPIforreadingandwritingimagesinpopularformatssupportedbyQt
cyforce
·
2011-01-24 23:00
image
function
header
application
qt
Constructor
简单判断是否是图片文件
主要用了JAVA里面的
ImageIO
类: /** * 判断文件是否为图片文件 * * @param srcFileName * @return */ private
bubaiyouyun
·
2011-01-24 15:00
文件
jsp做了一个简单的图形验证码,产生四个随机字符
.*,javax.
imageio
.*"%><%!
maizi2011
·
2011-01-22 07:00
apache
C++
c
jsp
cache
java绘制图片工具类
importjava.awt.Image;importjava.awt.image.BufferedImage;importjava.io.File;importjava.io.FileOutputStream;importjavax.
imageio
.
ImageIO
lvron
·
2011-01-21 12:00
java
exception
image
String
File
null
jsp
.*,javax.
imageio
.*" pageEncoding="GBK"%> <%@ pag
blylcc才
·
2011-01-11 10:00
java
jsp
cache
OS
jsp验证码源码
.*,javax.
imageio
.*" %> 2.
永远的战士
·
2011-01-08 23:00
java
jsp
cache
OS
自己修改的 有数字 字母 中文 的随机验证码
importjava.awt.image.BufferedImage;importjava.io.File;importjava.util.LinkedList;importjava.util.Random;importjavax.
imageio
.
ImageIO
heardy
·
2011-01-05 15:00
设置图片等比例缩小
//-------------------------------可以将图片等比例缩小//========还学到了获得图片的宽,高BufferedImageim=
ImageIO
.read(newFile
竹临仙
·
2011-01-02 15:00
J#
java中 查询一个表的 图片字段(blob类型) 处理图片大小后保存到数据库
nbsp; 判断该图片大小,如果大于100K,那么就把该图片处理成100K 我现在做到获取该图片 但是 处理图片大小遇到了问题 出现错误的地方:src = javax.
imageio
.
ImageIO
.read
quanwei132
·
2010-12-29 13:00
java
oracle
sql
OS
F#
byte[]图片修改大小
private byte[] fixPic(byte[] bts){ try { Image img=
ImageIO
.read(new ByteArrayInputStream(bts));
yaoweinan
·
2010-12-28 13:00
byte[]
JSP 显示服务器上的文件/图片
gt; <%@page import="java.awt.image.BufferedImage"%> <%@page import="javax.
imageio
.
ImageIO
dingbuoyi
·
2010-12-26 12:00
java
apache
jsp
Hibernate
XHTML
JSP 显示服务器上的文件/图片
gt; <%@page import="java.awt.image.BufferedImage"%> <%@page import="javax.
imageio
.
ImageIO
dingbuoyi
·
2010-12-26 12:00
java
apache
jsp
Hibernate
XHTML
java 缩略图__转
package com.news.web; import java.awt.image.BufferedImage; import java.io.File; import javax.
imageio
.
ImageIO
kaka100
·
2010-12-24 00:00
java
html
Web
servlet
J#
验证码的使用
.*,javax.
imageio
.*" %> <%! Color getRandColor(int fc,int
liushibo
·
2010-12-17 11:00
jsp
cache
BufferedImage显示在JPanel上
import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.
imageio
.
ImageIO
dracularking
·
2010-12-17 10:00
java
swing
验证码(用session 保存数字)
.*,javax.
imageio
.
竹临仙
·
2010-12-16 22:00
jsp
cache
Java Swing LookAndFeel Demo
importjava.awt.GridBagConstraints;importjava.awt.GridBagLayout;importjava.awt.Insets;importjava.io.IOException;importjavax.
imageio
.
ImageIO
jia20003
·
2010-12-16 16:00
java
windows
swing
import
button
Components
Java Swing LookAndFeel Demo
java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.io.IOException; import javax.
imageio
piperzero
·
2010-12-16 16:00
java swing
Java Swing LookAndFeel Demo
importjava.awt.GridBagConstraints;importjava.awt.GridBagLayout;importjava.awt.Insets;importjava.io.IOException;importjavax.
imageio
.
ImageIO
gloomyfish
·
2010-12-16 16:00
java
windows
swing
Java Swing LookAndFeel Demo
importjava.awt.GridBagConstraints;importjava.awt.GridBagLayout;importjava.awt.Insets;importjava.io.IOException;importjavax.
imageio
.
ImageIO
gloomyfish
·
2010-12-16 16:00
java
windows
swing
import
button
Components
Java操作图片改变大小加水印
*;importjavax.
imageio
.
ImageIO
;importjavax.
imageio
.
ImageIO
.
lmzpp
·
2010-12-16 15:00
java
exception
String
File
null
import
imageIO
.read invoke 错误
imageIO
.read() 超大图片上传出现的问题(异常:InvocationTargetException)。
tss0823
·
2010-12-15 15:00
apache
eclipse
jvm
tomcat
java给图片加图片水印
import java.awt.image.BufferedImage;import java.io.File;import java.io.FileOutputStream; import javax.
imageio
.
ImageIO
applechong
·
2010-12-08 21:00
java
C++
c
C#
sun
Java图片处理
.*; import java.awt.Graphics; import java.awt.color.ColorSpace; import javax.
imageio
.
ImageIO
; pu
xixian
·
2010-12-07 23:00
java
多线程
F#
J#
JSP输出图片
<%@page import="java.io.File"%> <%@page import="javax.
imageio
.
ImageIO
"
hangzhou
·
2010-12-07 13:00
java
jsp
JSP验证码及刷新
.*,javax.
imageio
.*" pageEncoding="UTF-8"%> <%!Color getRandColor(int
laodaobazi
·
2010-12-02 09:00
JavaScript
jsp
cache
浏览器
JSP验证码及刷新
.*,javax.
imageio
.*" pageEncoding="UTF-8"%> <%!Color getRandColor(int
laodaobazi
·
2010-12-02 09:00
JavaScript
jsp
cache
浏览器
javax.
imageio
.IIOException: Invalid icc profile: bad sequence number
这个错误发生在使用JRE版本为jdk1.6.0_07 和1.6.0时,更新为jdk1.6.0_22后就没有问题了。
kenera
·
2010-12-01 16:00
jdk
java程序
.*; 8importjavax.
imageio
.*; 9importjava.io.*;10111213/*
victory008
·
2010-11-30 20:13
java
职场
程序
休闲
java/swing屏幕截图代码
=r.createScreenCapture(new Rectangle(0,0,800,600)); File f=new File("d:\\b.png");
ImageIO
.write
noobjava
·
2010-11-30 10:00
java
swing
F#
给图片加水印
*;importjavax.
imageio
.
zxingchao2009
·
2010-11-23 21:00
servlt验证码
.*; import javax.
imageio
.*; public cla
taoge9949
·
2010-11-16 20:00
servlet
cache
上一页
38
39
40
41
42
43
44
45
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他