自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 bitmap转YUV420之后的图片和原图有色差

int yIndex = 0; int uvIndex = frameSize; int a, R, G, B, Y, U, V; int index = 0; for (int j = 0; j < height; j++) { for (int i = 0; i < width; i++) { R = (...

2018-04-13 12:16:39 1269

原创 C# DrawString往一张图片写入文字的时候,出现了“参数无效”的错误

public void ProcessRequest(HttpContext context){ Bitmap nbitmap = new Bitmap(1000, 1000); Graphics g = Graphics.FromImage(nbitmap); Font font = new Font(FontFamily.GenericSa...

2018-04-13 12:15:54 2454 1

原创 小程序支付 无回调问题

int main(){ int *ptr=new int[0]; ptr[0]=1; ptr[1]=2; cout<<"ptr[0]:"<<ptr[0]<<endl; cout<<"ptr[1]:"<<ptr[1]<<endl; for(int i=0;

2018-04-13 12:15:16 1059

原创 有点疑惑,c++中int*p=new int[0]动态分配了多大的内存,求不吝赐教

int main(){ int *ptr=new int[0]; ptr[0]=1; ptr[1]=2; cout<<"ptr[0]:"<<ptr[0]<<endl; cout<<"ptr[1]:"<<ptr[1]<<endl; for(int i=0;

2018-04-13 12:14:40 1940

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除