图片大小调整为75% [英] image resize to 75%

查看:374
本文介绍了图片大小调整为75%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过pinvoke在C#中的byte []中使用unsigned char *中的原始图像数据,我需要将其缩放到75%,我有英特尔C ++编译器,它将使其并行并添加内在函数我,谷歌搜索到了这个死我是C ++的完全新手请
简单易懂。

I have raw image data in an unsigned char* from a byte[] in C# via pinvoke and I need to scale it to 75%, I have the Intel C++ compiler which will make it parallel and add intrinsics for me, I have googled this to death I am a complete novice with C++ please make it simple and understandable.

在C ++中这样做的原因是GDI太慢了!

Reason for doing this in C++ is GDI is miles too slow!

推荐答案

我建议最好的入门方法是研究其他人如何解决问题。

I suggest the best way to get started is to study how other people of solved the problem.

看起来这篇关于
超快双通双线性缩放
精确地适合这个法案。

Looks like this article on Super-fast Two Pass Bi-Linear Scaling fits the bill precisely,.


这篇关于图片大小调整为75%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆