ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   bmp from scratch (https://www.excelbanter.com/excel-programming/435724-bmp-scratch.html)

Jim[_76_]

bmp from scratch
 
I'm interested in the algorithm that would create a bmp, or gif file
from a matrix of numbers say 400x400. Also in code that would take
arbitrary scaled data and translate those numbers into gray-scale or
color representations.
Anyone know about this?
Jim

RB Smissaert

bmp from scratch
 
Never done it, but it shouldn't be a problem.
Maybe start with this one:
http://gpwiki.org/index.php/VB:Bitma...at_Information

RBS


"Jim" wrote in message
...
I'm interested in the algorithm that would create a bmp, or gif file
from a matrix of numbers say 400x400. Also in code that would take
arbitrary scaled data and translate those numbers into gray-scale or
color representations.
Anyone know about this?
Jim



Martin Brown

bmp from scratch
 
Jim wrote:
I'm interested in the algorithm that would create a bmp, or gif file
from a matrix of numbers say 400x400. Also in code that would take
arbitrary scaled data and translate those numbers into gray-scale or
color representations.
Anyone know about this?


Shameless plug. I do an Imager addin for XL that does exactly this for
greyscale and various commonly used false colour mapping with optional
linear and log scaling. It is useful for modest amounts of bulk data.

http://www.nezumi.demon.co.uk/consult/excel/image.htm

Hope this helps.

Regards,
Martin Brown


All times are GMT +1. The time now is 09:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com