一 在Android 中,拍照对应的Action 是android.provider.MediaStore.ACTION_IMAGE_CAPTURE. 用于拍照的Activity 需要返回照片图像数据,摄像对应的Action 是android.provider.MediaStore.ACTION_V...
分类:
移动开发 时间:
2014-07-23 22:18:27
阅读次数:
288
In the development ofShou, I’ve been using GLSL with NEON to manipulate image rotation, scaling and color conversion, before send them to video encode...
分类:
其他好文 时间:
2014-07-23 20:47:45
阅读次数:
399
1,像浏览器写入随机图片: package?cn.universe.response;
import?java.awt.Color;
import?java.awt.Font;
import?java.awt.Graphics;
import?java.awt.Graphics2D;
import?java.awt.image.BufferedImag...
分类:
其他好文 时间:
2014-07-23 17:40:41
阅读次数:
327
string ProImgPath = ProcessPath + name + ".png";//要保存的图片的地址,包含文件名BitmapSource BS = (BitmapSource)ImgPro.Source;PngBitmapEncoder PBE = new PngBitmapEnc...
分类:
其他好文 时间:
2014-07-23 16:30:31
阅读次数:
349
用到两个jar包: QRCode.jar?Qrcodeen.jar java二维码编码和解析工具类 package?com.banmacoffee.utils;
import?java.awt.Color;
import?java.awt.Graphics2D;
import?java.awt.image.BufferedImage;
impor...
分类:
编程语言 时间:
2014-07-23 13:56:06
阅读次数:
283
图片的等比例缩放可以使用UIImageJPEGRepresentation和UIImagePNGRepresentation函数,需要两个参数:图片的引用和压缩系数. 也可以使用下面的函数 -(UIImage*)buildThumbnailImage:(UIImage*)image?scaledToSiz...
分类:
其他好文 时间:
2014-07-23 13:55:56
阅读次数:
482
#pragma warning(disable:4996)
#include <Windows.h>
#include <tchar.h>
#include <cstdio>
#include <vector>
using namespace std;
/*
submit time : 1 // But I don‘t know how to deal with "Follow u...
分类:
其他好文 时间:
2014-07-23 13:55:36
阅读次数:
280
NGINX负载均衡404错误处理方法使用NGINX 实现负载均衡,但一组服务器的数据不是实施同步,主服务器有了数据要过段时间才同步到其他服务器upstream image.stream.com { server 192.168.1.25:8088;server 192.168.1.24:8088.....
分类:
系统相关 时间:
2014-07-23 12:50:36
阅读次数:
274
/** * 图片判断 */private static String getFormatName(Object o) { try { // Create an image input stream on the image ImageInputS...
分类:
编程语言 时间:
2014-07-23 12:00:06
阅读次数:
306
{ "IMAGE_POOL": { "IMAGE": [ { "RUNNING_VMS": "1", "REGTIME": "1404981076", "DISK_...
分类:
其他好文 时间:
2014-07-23 11:44:26
阅读次数:
332