收藏订阅
The Sapphire JPG Utility makes bitmap conversion easy with the following features:
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