Calling BitMapCreator Experts.
I have a GrayScale Bitmap (see picture) of dimensions 199 x 262.
I would like to (programmatically) put a border around it and save it (again) as a .bmp
The border I put around it must cause the final combined bmp to ...
a) have dimensions of Exactly 512 x 512
b) The border must be filled with pixels that copy the original bmp's pixel(0, 0)
I guess another way of saying this is that I would like to place the original bmp more or less
in the centre of a new 512 x 512 bmp whose background is made up of pixels like the original's Pixel(0, 0)
For (arithmetical) simplicity let's say the borders dimensions would be (in pixels)
Top & Bottom Borders = 512 x 125,
Left Border = 157 x 512,
Right Border = 156 x 512
I'm really impressed by the BitMapCreator lib but just can't get into it that easily.
A bit of practical help (like the above) might help to get started into it more quickly.
Is this something that BitMapCreator can do (like - in its sleep) with only a few lines of code ?
I have a GrayScale Bitmap (see picture) of dimensions 199 x 262.
I would like to (programmatically) put a border around it and save it (again) as a .bmp
The border I put around it must cause the final combined bmp to ...
a) have dimensions of Exactly 512 x 512
b) The border must be filled with pixels that copy the original bmp's pixel(0, 0)
I guess another way of saying this is that I would like to place the original bmp more or less
in the centre of a new 512 x 512 bmp whose background is made up of pixels like the original's Pixel(0, 0)
For (arithmetical) simplicity let's say the borders dimensions would be (in pixels)
Top & Bottom Borders = 512 x 125,
Left Border = 157 x 512,
Right Border = 156 x 512
I'm really impressed by the BitMapCreator lib but just can't get into it that easily.
A bit of practical help (like the above) might help to get started into it more quickly.
Is this something that BitMapCreator can do (like - in its sleep) with only a few lines of code ?