由于我刚入职现在的这家公司的时候,他们对涉及到图片的比较多,所以打算写一系列图片的文章,首先就从制造图片的地方开始写起–Camera如果你的app里面只是需要拍一张照片,只需要调用系统的照相机就可以满足你的需求了通过ACTION_IMAGE_CAPTURE调用系统的照相机intent.setAction(MediaStore.ACTION_IMAGE_CAPTURE);然后在通过startActiv...
分类:
移动开发 时间:
2015-12-28 10:36:07
阅读次数:
280
PIC32MZ tutorial--"Input Capture", example application for PIC32MZ EC starter kit
分类:
其他好文 时间:
2015-12-26 18:47:42
阅读次数:
358
原文:http://www.yiibai.com/android/android_audio_capture.htmlAndroid有一个内置的麦克风,通过它可以捕获音频和存储,或在手机进行播放。有很多方法可以做到这一点,但最常见的方法是通过MediaRecorder类。Android提供Media...
分类:
移动开发 时间:
2015-12-23 19:35:31
阅读次数:
230
图片的处理图片的处理大概分 截图(capture), 缩放(scale), 设定大小(resize), 存储(save)1.等比率缩放- (UIImage *)scaleImage:(UIImage *)image toScale:(float)scaleSize{UIGraphicsBeginIm...
分类:
其他好文 时间:
2015-12-23 19:21:07
阅读次数:
152
Unreal Engine 4 RenderTarget制作Live Camera效果先上效果: Live Camera我不知道怎么翻译。反正意思就是将一个摄影机的Image渲染到一个2D平面上。 以下介绍下详细的实现方法:1.创建一个Scene Capture 2D对象 将这个对象...
分类:
其他好文 时间:
2015-12-22 22:39:23
阅读次数:
265
没有__block qualifier的primitive c types会直接在创建block的时候被capture到block里。有__block qualifier的话,会在调用block的时候取&number地址所指向的值,如果调用block的时候已经超过了number声明的scope,那么...
分类:
移动开发 时间:
2015-12-21 12:19:02
阅读次数:
194
Total Accepted:43584Total Submissions:284350Difficulty:MediumGiven a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is ca...
分类:
其他好文 时间:
2015-12-18 00:06:14
阅读次数:
270
关于wireshark的两个基本语法 关于wireshark的两个基本语法1. Capture Filters语法:例子:tcp src port 443 ——只抓取来源端口是443的tcp数据not arp ——...
分类:
其他好文 时间:
2015-12-05 17:40:39
阅读次数:
177
This sample demonstrates how to use the Camera2 API to capture RAW camera buffers and save them as DNG files.此示例演示了如何使用Camera2 API来捕捉原始raw数据相机缓存,并将其保存...
分类:
其他好文 时间:
2015-12-02 12:24:51
阅读次数:
215
using System;using System.Runtime.InteropServices;using System.Drawing;using System.Drawing.Imaging;namespace ScreenShotDemo{ /// /// Provides ...
分类:
其他好文 时间:
2015-12-01 16:27:23
阅读次数:
229