
Manipulating image without UI in VB
Quote:
> I have a 48 x 48 pixels BMP image.
> I need to build an ActiveX DLL without user interface or VB forms to add a
> letter onto the image (for example add "A", font: Times New Roman, size:
8,
> position x = 10, position y = 10). Can this be done with Visual Basic?
> And later this image is save to disk in JPG format. Is this possible?
Yep, both can be done in VB :)
To draw the text use either the Print() method of a picture box, or the
TextOut() API call, then to save as a JPEG you'll need to take a look at the
Intel libraries, there's examples over on:
http://www.*-*-*.com/
Hope this helps,
Mike
-- EDais --
WWW: http://www.*-*-*.com/