- 博客(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关注的人