I'm using the Internet Transfer Control to download images from the internet.
When I'm browsing the web and right-click to download an image, I can choose to save it as .BMP. Is there an easy way to convert the native JPG or GIF to BMP in visual basic? Either through the control or through another util?
Here's my code:
Private Function GetUpdate() As Integer
On Error GoTo Update_Error
Dim bData() As Byte
Inet1.AccessType = icUseDefault
bData() = Inet1.OpenURL(strURL, icByteArray)
Open BMP_PATH & strDatafile & ".bmp" For Binary Access Write As #1
Put #1, , bData()
GetUpdate = -1
GetUpdate = 0