We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeImage_LoadMultiBitmapFromMemory 函数flags参数设置GIF_PLAYBACK FreeImage_LockPage 某些GIF文件取得一帧的效率非常慢(比如附件的文件)。能否提它的高效率?
pfiMultiBitmap = FreeImage_LoadMultiBitmapFromMemory(FIF_GIF, pFiMemory, GIF_PLAYBACK); if (pfiMultiBitmap != NULL) { iFrameCount = FreeImage_GetPageCount(pfiMultiBitmap); for (int iFrameIndex = 0 iFrameIndex < iFrameCount ; iFrameIndex++) { pfiBitmap = FreeImage_LockPage(pfiMultiBitmap, iFrameIndex); if (pfiBitmap != NULL) { FreeImage_UnlockPage(pfiMultiBitmap, pfiBitmap, FALSE); } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
FreeImage_LoadMultiBitmapFromMemory 函数flags参数设置GIF_PLAYBACK
FreeImage_LockPage 某些GIF文件取得一帧的效率非常慢(比如附件的文件)。能否提它的高效率?
pfiMultiBitmap = FreeImage_LoadMultiBitmapFromMemory(FIF_GIF, pFiMemory, GIF_PLAYBACK);
if (pfiMultiBitmap != NULL)
{
iFrameCount = FreeImage_GetPageCount(pfiMultiBitmap);
for (int iFrameIndex = 0 iFrameIndex < iFrameCount ; iFrameIndex++)
{
pfiBitmap = FreeImage_LockPage(pfiMultiBitmap, iFrameIndex);
if (pfiBitmap != NULL)
{
FreeImage_UnlockPage(pfiMultiBitmap, pfiBitmap, FALSE);
}
}
}
The text was updated successfully, but these errors were encountered: