All Projects → CHXAIOGE → FrameSequence

CHXAIOGE / FrameSequence

Licence: other
android java animate webp and gif support

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
shell
77523 projects
C++
36643 projects - #6 most used programming language
M4
1887 projects
Roff
2310 projects

Projects that are alternatives of or similar to FrameSequence

gfxprim
Open-source modular 2D bitmap graphics library with emphasis on speed and correctness.
Stars: ✭ 32 (+113.33%)
Mutual labels:  webp
AndroidWebP-GradlePlugin
将图片转换成WebP格式的Android构建插件,自动下载 libwebp,支持手动转换与自动转换两种模式。
Stars: ✭ 49 (+226.67%)
Mutual labels:  webp
tiny
compress data for better performance
Stars: ✭ 21 (+40%)
Mutual labels:  webp
sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (+1273.33%)
Mutual labels:  webp
go-webp
Simple and fast webp library for golang
Stars: ✭ 91 (+506.67%)
Mutual labels:  webp
WhatsApp-Stickers
WhatsApp Stickers Pack For WhatsApp
Stars: ✭ 18 (+20%)
Mutual labels:  webp
lamba-thumbnailer
AWS S3 Video Thumbnailer with Lambda
Stars: ✭ 21 (+40%)
Mutual labels:  webp
Swift-WebP
A thin Swift wrapper of libwebp to make your own encoder/decoder app
Stars: ✭ 135 (+800%)
Mutual labels:  webp
image-optimizer
A free and open source tool for optimizing images and vector graphics.
Stars: ✭ 740 (+4833.33%)
Mutual labels:  webp
IosCodeSpecification
Ios best practices, Ios development specification, ios 开发规范,ios 最佳实践,ios编码规范
Stars: ✭ 43 (+186.67%)
Mutual labels:  webp
togglific
Do you find web animations distracting? Togglific provides a distraction-free web experience!
Stars: ✭ 17 (+13.33%)
Mutual labels:  webp
v-img
📸Use webp and lazyload images
Stars: ✭ 48 (+220%)
Mutual labels:  webp
FroshWebP
WebP Support for Shopware
Stars: ✭ 29 (+93.33%)
Mutual labels:  webp
webpjs
📷 WebP.js Polyfill
Stars: ✭ 25 (+66.67%)
Mutual labels:  webp
webp-wasm
Webp image convertor (webassembly, works offline in browser)
Stars: ✭ 18 (+20%)
Mutual labels:  webp
imagecodecs
Image transformation, compression, and decompression codecs. Forked from https://pypi.org/project/imagecodecs
Stars: ✭ 56 (+273.33%)
Mutual labels:  webp
wa-sticker-formatter
Sticker Creator for WhatsApp
Stars: ✭ 60 (+300%)
Mutual labels:  webp
imei
IMEI - ImageMagick Easy Install
Stars: ✭ 126 (+740%)
Mutual labels:  webp
imagor
Fast, Docker-ready image processing server in Go and libvips
Stars: ✭ 2,276 (+15073.33%)
Mutual labels:  webp
create-optimize-images
♻️ Reusable, scalable, bash scripts to create and optimize images.
Stars: ✭ 39 (+160%)
Mutual labels:  webp

FrameSequence

animate webp and gif support

Exported android source code lib FrameSequence as a new project

link below . you can also download the code and write makefile yourself that's quite simple

https://developers.google.com/speed/webp/

Build this project yourself or you can simply download aar in 'package' directory

I just provide a FrameSequenceHelper and customize the package.

You can customize your own support.

CustomModify:

You can change the 'BUILD_MODE' tag and 'NENO_ACTIVATE' tag to build aar you need

编译模式:
BUILD_MODE := LITE_MODE
NENO指令优化宏:(默认开启)
NENO_ACTIVATE = true

ALL_MODE     -- 编译除(mips64 armeabi mips) 外的所有lib
    requirements:
      APP_PLATFORM android-15
      ndk under r16
LITE_MODE    -- (仅编译armv7 忽略64-v8)将使aar整体减小约100k arm64上性能有损失
    requirements:
      APP_PLATFORM android-15
BASE_MODE    -- (编译armv7 arm64-v8a)默认模式
    requirements:
      APP_PLATFORM android-15
COMPAT_MODE  -- 兼容模式 兼容老版本armv4, v5 最低支持到android-8 使用这个可以获得最小包体积, 但是性能上有损失
    requirements:
      APP_PLATFORM android-8
      ndk under r16

Usage:

   [check support]

FrameSequenceHelper.isSupported(rawImageStream);
FrameSequenceHelper.isSupported(file);
  
FrameSequence frameSequence = FrameSequence.decodeStream(rawImageStream);
FrameSequenceDrawable drawable = new FrameSequenceDrawable(frameSequence);
drawable.setLoopCount(1);
drawable.setLoopBehavior(LOOP_FINITE);
drawable.setOnFinishedListener(new FrameSequenceDrawable.OnFinishedListener() {
    @Override
    public void onFinished(FrameSequenceDrawable frameSequenceDrawable) {
        //do what you need.
    }
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].