GdPicture

GdPicture Imaging SDK - Frequently Asked Questions



-
I can't load a GdPicture ActiveX control within Visual Studio .NET or Visual Basic 6. "Error loading library dll."
-
How many licenses do I need to purchase / what type of license do I need?
-
How do I unlock my GdPicture component?
-
Where can I purchase a GdPicture SDK and how do I place an order?
-
What kind of color value do I need to use as a parameter with the drawing methods RGB or ARGB [for ActiveX editions only]?
-
How do I display PDF files in the GdViewer control [for ActiveX editions only] ?
-
Where can I compare the features of the full line of GdPicture products?
-
How do I use a GdPicture ActiveX component in Visual Studio .NET?
-
I can't register a GdPicture ActiveX control on Windows Vista. "The Call to DllRegisterServer Failed with Error Code 0×80004005"
-
How do I import an image from a GdPicture object to a System.Drawing.Bitmap object within Visual Studio .NET (C# and VB.NET)?
-
Which image formats are supported by GdPicture Technology?
 
 
I can't load a GdPicture ActiveX control within Visual Studio .NET or Visual Basic 6. "Error loading library dll."

The control you are trying to use is probably marked as safe for scripting and safe for initializing.
If you encounter problems loading it, you should copy the objsafe.tlb file into the system32 directory.


Note: For .NET application development, it is highly recommended that you use one of the GdPicture.NET editions.



How many licenses do I need to purchase / what type of license do I need?

- .NET edition

- ActiveX edition






How do I unlock my GdPicture component?

For all GdPicture Toolkits, the final version is the same as the evaluation version.
You just need to unlock all the used objects using a commercial or an evaluation license KEY, using the SetLicenseNumber() method.

-> IE: object.SetLicenseNumber ("0012345678910111213141516")

Note: You should call this method before any other methods of the used object. Also, don't forget to call this method for all used objects!

You can purchase a license key here.
You can get a one month evaluation key here.






Where can I purchase a GdPicture SDK and how do I place an order?

You can purchase a license key here with Plimus.

Plimus' comprehensive payment options include credit card, debit card, bank transfer, check, cash, Paypal and purchase order, and include billing in 18 currencies.

Following the purchase process, a license key will be automatically emailed to you.






What kind of color value do I need to use as a parameter with the drawing methods RGB or ARGB [for ActiveX editions only]?

GdPicture components work only with the long ARGB color value. This is available for 1bpp, 4pbb, 16bpp, 24bpp, 32bpp... bitmaps.

To get a long ARGB color value, you can use the ARGB() method.

The ARGB() method returns an ARGB long color value by using specified values for the alpha, red, green, and blue components.

Ex:

-To get the red color value:
nRedValue = object.ARGB(255, 255, 0, 0)

-To get the semi-transparent blue color value:
nSemiTransparentBlueValue = object.ARGB(127, 0, 0,255)







How do I display PDF files in the GdViewer control?

- With GdPicture ActiveX editions: Using the DisplayFromFile() or the DisplayFromPdfFile() method.

- With GdPicture.NET editions: Using the DisplayFromFile() method.






Where can I compare the features of the full line of GdPicture products?

You can view a comparison matrix for the ActiveX editions and the .NET editions.






How do I use a GdPicture ActiveX component in Visual Studio .NET?

- Open or start a new project.
- Right-click in the Toolbox Items and select "Add/Remove Items" for Visual Studio 2003 or "Choose Items" for Visual Studio 2005 and 2008.
- Choose the COM tab and check the class(es) you want to use.

- The icons of the controls you chose are shown at the end of Toolbox Items. Click the icon to choose a control and insert the control into the form, then set the properties of the control instance...


Note: For .NET application development, it is highly recommended that you use one of the GdPicture.NET editions.



I can't register a GdPicture ActiveX control on Windows Vista. "The Call to DllRegisterServer Failed with Error Code 0×80004005"

To register a DLL in Windows Vista with regsvr32.exe, you need to have administrator privileges and rights.
Unless you have disabled User Access Control (UAC), all user accounts except Administrator need to have elevated administrative user rights. One of the following should work. a) Login as an administrator and register. b) Find cmd.exe and "run as administrator" to register via the command prompt. c) Disable UAC temporarily.

Article from mydigitallife.info






How do I import an image from a GdPicture object to a System.Drawing.Bitmap object within Visual Studio .NET (C# and VB.NET)?

- With VB.NET:

Dim MyImagingObject As New GdPicturePro5.cImaging
MyImagingObject.CreateImageFromFile("c:\test.jpg")
Dim MyPictureObject As System.Drawing.Bitmap = Bitmap.FromHbitmap(MyImagingObject.GetHBitmap)

- With C#:

GdPicturePro5.cImaging MyImagingObject = new GdPicturePro5.cImaging();
MyImagingObject.CreateImageFromFile("c:\\test.jpg");
Bitmap MyBitmap = Bitmap.FromHbitmap((new IntPtr(MyImagingObject.GetHBitmap())));


Note: For .NET application development, it is highly recommended that you use one of the GdPicture.NET editions.



Which image formats are supported by GdPicture Technology ?

You can find an exhaustive list of supported image formats here.


Join us on Facebook!
Home | Company | Toolkits Overview | Downloads | Evaluate | Order | Forums | Contact | F.A.Q. | Documentation | Search | Blog | Sitemap
All elements present on this site are the exclusive property of ORPALIS and are protected by intellectual property law. Any total or partial reproduction of the elements of the website is prohibited without the explicit consent of the site's publication director.
Feedback Form