MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Red_Eyes_Correction",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "78": {
                "pageid": 78,
                "ns": 0,
                "title": "Read",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== gflGetDefaultLoadParams ==\n\nThe gflGetDefaultLoadParams function sets the [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure with default values. Must be called before gflLoadBitmap*. \n\n void <b>gflGetDefaultLoadParams</b>(\n   GFL_LOAD_PARAMS* load_params\n );\n\n'''Parameters'''\n\n:load_params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n\n'''See also'''\n:[[#gflGetDefaultThumbnailParams|gflGetDefaultThumbnailParams]], [[#gflLoadBitmap|gflLoadBitmap]], [[#gflLoadBitmapFromHandle|gflLoadBitmapFromHandle]], [[#gflLoadBitmapFromMemory|gflLoadBitmapFromMemory]]\n\n\n== gflLoadBitmap ==\n\nThe gflLoadBitmap function loads a picture file into memory. \n\n GFL_ERROR <b>gflLoadBitmap</b>(\n   const char* filename,  \n   GFL_BITMAP** bitmap,  \n   const GFL_LOAD_PARAMS* params,  \n   GFL_FILE_INFORMATION * informations\n );\n\n'''Parameters'''\n\n:filename \n::Pointer to a null-terminated string that contains the filename to load. \n:bitmap \n::Address of a pointer to a [[Structures#GFL_BITMAP|GFL_BITMAP]] structure. \n:params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n::This structure must be filled correctly. \n:informations \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. Can be NULL if you don't want it. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''Remark'''\n:gflLoadBitmapW exists for the windows unicode version of GFLSDK\n\n'''See also'''\n:[[#gflGetDefaultLoadParams|gflGetDefaultLoadParams]], [[#gflLoadBitmapFromMemory|gflLoadBitmapFromMemory]], [[#gflLoadBitmapFromHandle|gflLoadBitmapFromHandle]]\n\n== gflLoadBitmapFromMemory ==\n\nThe gflLoadBitmapFromMemory function loads a picture from memory. \n\n GFL_ERROR <b>gflLoadBitmapFromMemory</b>(\n   const GFL_UINT8* data,  \n   GFL_UINT32 data_length,  \n   GFL_BITMAP** bitmap,  \n   const GFL_LOAD_PARAMS* params,  \n   GFL_FILE_INFORMATION* informations,  \n );\n\n'''Parameters''' \n\n:data \n::Pointer to the picture. \n:data_length \n::Length of data. \n:bitmap \n::Address of a pointer to a [[Structures#GFL_BITMAP|GFL_BITMAP]] structure. \n:params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n::This structure must be filled correctly. \n:informations \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. Can be NULL if you don't want it. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''See also'''\n:[[#gflGetDefaultLoadParams|gflGetDefaultLoadParams]], [[#gflLoadBitmap|gflLoadBitmap]], [[#gflLoadBitmapFromHandle|gflLoadBitmapFromHandle]]\n\n== gflLoadBitmapFromHandle ==\n\nThe gflLoadBitmapFromHandle function loads a picture into memory with the use of read callback functions. \n\n GFL_ERROR <b>gflLoadBitmapFromHandle</b>(\n   GFL_HANDLE handle,  \n   GFL_BITMAP** bitmap,  \n   const GFL_LOAD_PARAMS* params,  \n   GFL_FILE_INFORMATION* informations,  \n );\n\n'''Parameters'''\n\n:handle \n::User handle. The Callbacks field of the [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure must be filled correctly. \n:bitmap \n::Address of a pointer to a [[Structures#GFL_BITMAP|GFL_BITMAP]] structure. \n:params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n::This structure must be filled correctly. \n:informations \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. Can be NULL if you don't want it. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''See also'''\n:[[#gflGetDefaultLoadParams|gflGetDefaultLoadParams]], [[#gflLoadBitmap|gflLoadBitmap]], [[#gflLoadBitmapFromMemory|gflLoadBitmapFromMemory]]\n\n== gflGetDefaultThumbnailParams==\n\nThe gflGetDefaultThumbnailParams function sets the [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure with default values. Must be called before gflGetDefaultThumbnail*. \n\n void <b>gflGetDefaultThumbnailParams</b>(\n   GFL_LOAD_PARAMS* load_params\n );\n\n'''Parameters'''\n\n:load_params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n\n'''See also'''\n:[[#gflGetDefaultLoadParams|gflGetDefaultLoadParams]], [[#gflLoadThumbnail|gflLoadThumbnail]], [[#gflLoadThumbnailFromHandle|gflLoadThumbnailFromHandle]], [[#gflLoadThumbnailFromMemory|gflLoadThumbnailFromMemory]]\n\n\n== gflLoadThumbnail ==\n\nThe gflLoadThumbnail function loads a picture file as a thumbnail into memory. \n\n GFL_ERROR <b>gflLoadThumbnail</b>(\n   const char* filename,  \n   GFL_INT32 width,  \n   GFL_INT32 height,  \n   GFL_BITMAP** bitmap,  \n   const GFL_LOAD_PARAMS* params,  \n   GFL_FILE_INFORMATION* informations,  \n );\n\n'''Parameters'''\n\n:filename \n::Pointer to a null-terminated string that contains the filename to load. \n:width \n::Width of the thumbnail. \n:height \n::Height of the thumbnail. \n:bitmap \n::Address of a pointer to a [[Structures#GFL_BITMAP|GFL_BITMAP]] structure. \n:params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n::This structure must be filled correctly. \n:informations \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. Can be NULL if you don't want it. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''Remark'''\n:gflLoadThumbnailW exists for the windows unicode version of GFLSDK\n\n'''See also'''\n:[[#gflGetDefaultThumbnailParams|gflGetDefaultThumbnailParams]], [[#gflLoadThumbnailFromHandle|gflLoadThumbnailFromHandle]], [[#gflLoadThumbnailFromMemory|gflLoadThumbnailFromMemory]]\n\n== gflLoadThumbnailFromMemory ==\n\nThe gflLoadThumbnailFromMemory function loads a picture file as a thumbnail from memory. \n\n GFL_ERROR <b>gflLoadThumbnailFromMemory</b>(\n   const GFL_UINT8* data,  \n   GFL_UINT32 data_length,  \n   GFL_INT32 width,  \n   GFL_INT32 height,  \n   GFL_BITMAP** bitmap,  \n   const GFL_LOAD_PARAMS* params,  \n   GFL_FILE_INFORMATION* informations,  \n );\n\n'''Parameters'''\n\n:data \n::Pointer to the picture. \n:data_length \n::Length of data. \n:width \n::Width of the thumbnail. \n:height \n::Height of the thumbnail. \n:bitmap \n::Address of a pointer to a [[Structures#GFL_BITMAP|GFL_BITMAP]] structure. \n:params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n::This structure must be filled correctly. \n:informations \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. Can be NULL if you don't want it. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''See also'''\n:[[#gflGetDefaultThumbnailParams|gflGetDefaultThumbnailParams]], [[#gflLoadThumbnail|gflLoadThumbnail]], [[#gflLoadThumbnailFromHandle|gflLoadThumbnailFromHandle]]\n\n== gflLoadThumbnailFromHandle ==\n\nThe gflLoadThumbnailFromHandle function loads a picture file as a thumbnail into memory with the use of read callback functions. \n\n GFL_ERROR <b>gflLoadThumbnailFromHandle</b>(\n   GFL_HANDLE handle,  \n   GFL_INT32 width,  \n   GFL_INT32 height,  \n   GFL_BITMAP** bitmap,  \n   const GFL_LOAD_PARAMS* params,  \n   GFL_FILE_INFORMATION* informations,  \n );\n\n'''Parameters'''\n\n:handle \n::User handle. The Callbacks field of the [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure must be filled correctly. \n:width \n::Width of the thumbnail. \n:height \n::Height of the thumbnail. \n:bitmap \n::Address of a pointer to a [[Structures#GFL_BITMAP|GFL_BITMAP]] structure. \n:params \n::Pointer to a [[Structures#GFL_LOAD_PARAMS|GFL_LOAD_PARAMS]] structure. \n::This structure must be filled correctly. \n:informations \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. Can be NULL if you don't want it. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''See also'''\n:[[#gflGetDefaultThumbnailParams|gflGetDefaultThumbnailParams]], [[#gflLoadThumbnail|gflLoadThumbnail]], [[#gflLoadThumbnailFromMemory|gflLoadThumbnailFromMemory]]\n\n== gflGetFileInformation ==\n\nThe gflGetFileInformation function retrieves all informations about a picture file. \n\n GFL_ERROR <b>gflGetFileInformation</b>(\n   const char* filename,  \n   GFL_INT32 index,  \n   GFL_FILE_INFORMATION* information\n );\n\n'''Parameters'''\n\n:filename \n::Pointer to a null-terminated string that contains the filename. \n:index \n::Index of format. -1 for automatic recognition. \n:information \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''Remark'''\n:gflGetFileInformationW exists for the windows unicode version of GFLSDK\n\n'''See also'''\n:[[#gflGetFileInformationFromMemory|gflGetFileInformationFromMemory]], [[#gflGetFileInformationFromHandle|gflGetFileInformationFromHandle]]\n\n== gflGetFileInformationFromMemory ==\n\nThe gflGetFileInformationFromMemory function retrieves all informations about a picture from memory. \n\n GFL_ERROR <b>gflGetFileInformationFromMemory</b>(\n   const GFL_UINT8* data,  \n   GFL_UINT32 data_length,  \n   GFL_INT32 index,  \n   GFL_FILE_INFORMATION* information\n );\n\n'''Parameters'''\n\n:data \n::Pointer to the picture. \n:data_length \n::Length of data. \n:index \n::Index of format. -1 for automatic recognition. \n:information \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''See also'''\n:[[#gflGetFileInformation|gflGetFileInformation]], [[#gflGetFileInformationFromHandle|gflGetFileInformationFromHandle]]\n\n== gflGetFileInformationFromHandle ==\n\nThe gflGetFileInformationFromHandle function retrieves all informations about a picture with the use of read callback functions. \n\n GFL_ERROR <b>gflGetFileInformationFromHandle</b>(\n   GFL_HANDLE handle,  \n   GFL_INT32 index,  \n   const GFL_LOAD_CALLBACKS* callbacks,  \n   GFL_FILE_INFORMATION* information\n );\n\n'''Parameters'''\n\n:handle \n::User handle. \n:index \n::Index of format. -1 for automatic recognition. \n:callbacks \n::Pointer to a [[Structures#GFL_LOAD_CALLBACKS|GFL_LOAD_CALLBACKS]] to access picture data. \n:information \n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. \n::You must use [[#gflFreeFileInformation|gflFreeFileInformation]] to free his content. \n\n'''Return value'''\n:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. \n\n'''See also'''\n:[[#gflGetFileInformation|gflGetFileInformation]], [[#gflGetFileInformationFromMemory|gflGetFileInformationFromMemory]]\n\n== gflFreeFileInformation ==\n\nThe gflFreeFileInformation function frees the content of a GFL_FILE_INFORMATION structure. \n\n void <b>gflFreeFileInformation</b>(\n   GFL_FILE_INFORMATION* information\n );\n\n'''Parameters'''\n\n:information\n::Pointer to a [[Structures#GFL_FILE_INFORMATION|GFL_FILE_INFORMATION]] structure. \n\n'''See also'''\n:[[#gflLoadBitmap|gflLoadBitmap]], [[#gflLoadBitmapFromMemory|gflLoadBitmapFromMemory]], [[#gflLoadBitmapFromHandle|gflLoadBitmapFromHandle]], [[#gflGetFileInformation|gflGetFileInformation]], [[#gflGetFileInformationFromHandle|gflGetFileInformationFromHandle]], [[#gflGetFileInformationFromMemory|gflGetFileInformationFromMemory]]\n\n[[Category: GFLSDK Reference Manual]]"
                    }
                ]
            },
            "19": {
                "pageid": 19,
                "ns": 0,
                "title": "Read/Write",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==General==\n\n\n==Read==\n{| cellpadding=\"2\" cellspacing=\"0\" border=\"1\"\n!width=\"33%\" |Option\n!Description\n|-\n|Ignore read errors\n|Read errors during reading image are silently ignored. Damaged or truncated files are displayed, if XnView is able to render them. \n|-\n|Rotate images based on EXIF orientation\n|If checked, and if file contains EXIF information on image orientation, it is used for automatic rotation for thumbnails and image display. Images are rotated for display only; the actual image files are not altered in any way. See discussion at Image Rotation.\n|-\n|Use EXIF DPI information if exists\n|JPEG files can contain DPI information both in JEPG data and EXIF header. If checked, in such case EXIF information is used. When dealing with digital camera images you should leave this option unchecked, as almost no camera records usable information on DPI. \n|}\n\n\n==Write=="
                    }
                ]
            }
        }
    }
}