Sapphire JPG實用程序為Visual Studio開發(fā)人員提供了能將.bmp位圖圖片文件轉(zhuǎn)換為.jpg JPEG文件的功能。
The Sapphire JPG utility provides the Visual Studio developer with the ability to convert .bmp bitmap image files to .jpg JPEG files.
需要培訓(xùn)、定制、外包?
請聯(lián)系我們!:800018081
慧都專業(yè)技術(shù)團(tuán)隊幫助您提高效率,節(jié)省成本,降低風(fēng)險!
* 關(guān)于本產(chǎn)品的分類與介紹僅供參考,精準(zhǔn)產(chǎn)品資料以介紹為準(zhǔn),如需購買請先行測試。
Sapphire JPG實用程序通過以下功能將位圖轉(zhuǎn)換變得簡單容易:
將.bmp轉(zhuǎn)換為.jpg文件
您能下載的演示版本查看*工作的演示樣本,您同樣能在您的應(yīng)用程序中重復(fù)使用它,就如您看到的一樣。可在下載頁面進(jìn)行下載。該演示版本功能齊全,只是包含了一個每次會彈出的消息。如果您正向客戶銷售您的應(yīng)用程序,那么您可放心,因為應(yīng)用程序不只是在理論上而是能真正地工作。
樣本代碼
執(zhí)行非常簡單。只需在您的應(yīng)用程序中聲明DLL功能,然后調(diào)用該功能,盡管它是由您自己編寫。以下是顯示怎樣將位圖保存到j(luò)peg文件的樣本演示代碼。
Public Sub JPGSave(ByVal outFile As String, _
ByVal quality As Integer, _
ByVal bmpPhoto As IntPtr)
sJPGSave(outFile, quality, bmpPhoto, SapphireJPGLicence)
End Sub
The Sapphire JPG Utility makes bitmap conversion easy with the following features:
- Convert .bmp to .jpg file
You can download the latest demo version to see a fully working demo which you can reuse within your application as you see fit. This can be found on the download pages. The demo versions are fully functional and simply contain a popup message from time to time. These are ideal if you are selling your application to the client where you can be confident the application will work in practice and not just theory.
Sample Code
Implementation couldn’t be easier, simply declare the DLL function as a function within your application and call it as though you wrote it yourself. Here’s a sample demo to show how to save the bitmap file to a jpeg file.
Public Sub JPGSave(ByVal outFile As String, _
ByVal quality As Integer, _
ByVal bmpPhoto As IntPtr)
sJPGSave(outFile, quality, bmpPhoto, SapphireJPGLicence)
End Sub