我想创建极高分辨率的图片 [英] i want to create extremly large resolutioned pictures

查看:79
本文介绍了我想创建极高分辨率的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里我想创建极高分辨率的图片,有什么方法可以创建如
的图片
bitmap.SetPixel(int64,int64,color);

here i want to create extremly large resolution pictures is there any way to create the image like

bitmap.SetPixel(int64, int64,color);

推荐答案

否.
几个原因:
1)SetPixcel仅适用于int值-即32位索引.
2)即使可以,涉及该像素数的SetPixel的任何操作也会非常缓慢!
3)您甚至无法创建一个大的位图:2 ^ 32为4Gb,.NET的最大单个对象大小为2Gb-这意味着,出于实际目的,您不能创建大于1的位图.行x 500,000,000列.
No.
Several reasons:
1) SetPixcel only works with int values - i.e. 32 bit indexes.
2) Even if you could, any operations involving SetPixel over that number of pixcels would be horrifically slow!
3) You can''t even create a bitmap that big: 2^32 is 4Gb, and .NET has a maximum individual object size of 2Gb - which means that for practical purposes you can''t create a bit map larger that 1 row x 500,000,000 columns.


这篇关于我想创建极高分辨率的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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