Good day for all users of this excellent library!
At first execuse me my English. It is not my native language, so I can do different errors. My question is - I want to use GFL SDK 2.66 to save picture into JPEG2000 file format, I have found that library Xjp2.dll is needed to support this format. But how can I use this library? I have called function _gflSetPluginsPathname in my code before calling _gflLibraryInit. What have I to do after this?
Thank you a lot for your answers.
Londinium
how to save picture into JPEG2000 file format?
Moderators: helmut, XnTriq, xnview
Re: how to save picture into JPEG2000 file format?
gflSetPluginsPathname and gflLibraryInit, which number do you have gffFormatGetIndex("jp2") ?londinium wrote:Good day for all users of this excellent library!
At first execuse me my English. It is not my native language, so I can do different errors. My question is - I want to use GFL SDK 2.66 to save picture into JPEG2000 file format, I have found that library Xjp2.dll is needed to support this format. But how can I use this library? I have called function _gflSetPluginsPathname in my code before calling _gflLibraryInit. What have I to do after this?
Thank you a lot for your answers.
Londinium
Pierre.
Thanks a lot for answer. I have called _gflSetPluginsPathname, then _gflLibraryInit and then _gflGetFormatIndexByName("jp2") and obtained FormatIndex=138. Then I have used function _gflSaveBitmap and normally saved bitmap into JPEG2000 format.
Now I have one small question. According to documentation for JPEG I can change the following parameters of GFL_SAVE_PARAMS structure: Quality,Progressive and OptimizeHuffmanTable and what about JPEG2000? What parameters of GFL_SAVE_PARAMS I can change if necessary?
Thanks a lot
Now I have one small question. According to documentation for JPEG I can change the following parameters of GFL_SAVE_PARAMS structure: Quality,Progressive and OptimizeHuffmanTable and what about JPEG2000? What parameters of GFL_SAVE_PARAMS I can change if necessary?
Thanks a lot
JPEG2000 use only Qualitylondinium wrote:Thanks a lot for answer. I have called _gflSetPluginsPathname, then _gflLibraryInit and then _gflGetFormatIndexByName("jp2") and obtained FormatIndex=138. Then I have used function _gflSaveBitmap and normally saved bitmap into JPEG2000 format.
Now I have one small question. According to documentation for JPEG I can change the following parameters of GFL_SAVE_PARAMS structure: Quality,Progressive and OptimizeHuffmanTable and what about JPEG2000? What parameters of GFL_SAVE_PARAMS I can change if necessary?
Pierre.