开发者

Monochrome BitMap Library

开发者 https://www.devze.com 2022-12-31 05:58 出处:网络
I am trying to create a piece of software that can be used to create VERY large (10000x10000) sized bitmaps. All I need is something that can work in monochrome, since the required output is a matrix

I am trying to create a piece of software that can be used to create VERY large (10000x10000) sized bitmaps. All I need is something that can work in monochrome, since the required output is a matrix containing details of black and white pixels in the bitmap. The closest thing I can think of is a font editor, but the size is a problem.

Is there any library out there that I can use to create the software, or will I have to write the whole thing from the start?

Edited on May 25: OK, so I've been searching around and I have found that using the GtkTree Widget is a good way to create grids. Has anybody tried that with the large sizes that I require? And if so, can i开发者_Python百科t be made to look like a drawing surface rather than a Spreadsheet like view?


Why don't you use bitmap objects, like gdk pixmaps if you use GTK?

10,000 x 10,000 pixels with a depth of 1 (monochrome) is 100,000,000 bits, which is 12,500,000 bytes, around 12 megabytes.

Not that large.

0

精彩评论

暂无评论...
验证码 换一张
取 消