08 2011 档案
摘要:List commend = new java.util.ArrayList();
commend.add(ffmpeg硬盘路径);
commend.add("-i");
commend.add(转码文件硬盘路径);
commend.add("-y");
commend.add("-ar");
commend.add("22050");
commend.add("-s");
commend.add("480*360");
commend.add("-b");
commend.add("1000");
commend.add("-qscale");
commend.add("4");
commend.add(输入文件路径);
阅读全文
摘要:BufferedImage bufferedImage = ImageIO.read(inFile);
BufferedImage bufferedChange=new BufferedImage(width, heigth, BufferedImage.TYPE_INT_BGR);
Graphics2D g = (Graphics2D) bufferedChange.getGraphics();
g.drawImage(bufferedImage, 0, 0, 256, 256, null);
g.dispose();
bufferedChange.flush();
ImageIO.write(bufferedChange, "JPEG", outFile);
阅读全文
摘要:beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/beans http://www.springframe
阅读全文

浙公网安备 33010602011771号