Convert from Image to ECW format

hany m. magdyhany m. magdy Global Mapper UserPosts: 15
edited September 2008 in SDK
Mike

i need to export or convert image file (bmp, or jpg, jpeg) to ecw file format.

Thanks

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited September 2008
    If you are using the SDK, just load your data using the GM_LoadLayerList function, then use the GM_ExportRaster function to export that data to a ECW format file.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • hany m. magdyhany m. magdy Global Mapper User Posts: 15
    edited September 2008
    I use function GM_ExportRasterFromBitmap but there's an error GM_Error_NotRegistered
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited September 2008
    That error means that no registration information was found so you cannot use that function. You need to purchase a SDK license and then you will get a license file that you can place in the folder with the GlobalMapperInterface.dll file to register the SDK and allow all functionality to be used.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • hany m. magdyhany m. magdy Global Mapper User Posts: 15
    edited September 2008
    Hi Mike

    i have an error "GM_Error_NotRegistered" but i have sold the Global Mapper SDK and i have an account user name and key number

    i use function is stips:
    GM_SetRegistryKey("ekey")
    GM_SetRegistrationInfo("User Name", "Key")

    and after i use it there is nothing happen

    and i read in the Global mapper reference that this functions write in the registery [HKEY_CURRENT_USER\Software\ekey\Global Mapper].

    and nothing is happen in the registery.

    what can i do?
Sign In or Register to comment.