danielhordern.com

BitmapCom - an ASP component for manipulating bitmaps on the server. Developed in Visual C++ / ATL 3 (no mfc). These pages document the development of the component as it takes place.

Whats next? OK, BitmapCom does its basic thang.... mmmmm, whats next? Time to confess, I have not figured out any real-world use for this component as yet! If anyone has a clue, please let me know!

Until I get a clue, its time to add playground functionality (defined as being nerdy fun to implement, but having no known reason to exist)

Plaground functionality:

Display bitmap (resampled)
Flip bitmap horizontal & vertical
Convert to greyscale
Blur and sharpen
Finally! - some functionality that could be useful! Blending another bitmap over the original bitmap. BitmapCom.oBitmapCom.Blend( Filename2Blend, XPos, YPos, Alpha ). This method could be used to transparently superimpose a logo or copyright message dynamically.
Blend bitmap
I am not happy with the current implimentation of the Blend(Filename,DstX, DstY, Alpha) function - param 1 is a filename for the source bitmap - I would rather this param was another BitmapCom object. Having a BitmapCom object for the sourcebitmap would make this function far more flexible, and far more efficient if repeating this operation. I will come back to this function at a later date and see if this cannot be improved!

More useful functionality - retrieving bitmaps from database tables could be way useful, ADO - retrive from database...