Skip to content
New issue

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

can i export in gif format? #52

Open
elangosaravanan21 opened this issue Apr 15, 2019 · 1 comment
Open

can i export in gif format? #52

elangosaravanan21 opened this issue Apr 15, 2019 · 1 comment

Comments

@elangosaravanan21
Copy link

can i export file as gif?

@Mouadabdelghafouraitali

Try to use TextureFitView and get bitmap using mRenderView.getBitmap(); method.

(e.g 30 frames)

for (int i = 0; i < 30 ; i++) {
                Bitmap bitmap = mRenderView.getBitmap();
                if (bitmap != null) bitmapArrayList.add(bitmap);
}

After filling your bitmapArrayList use AnimatedGifEncoder class to generate GIF file from array bitmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants