All Projects → aaharu → gifken

aaharu / gifken

Licence: MIT license
JavaScript library that can reverse and split animated GIFs

Programming Languages

rust
11053 projects
HTML
75241 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gifken

TTFancyGifDialog-Android
TTFancyGifDialog makes your Android Dialog Fancy and more Beautiful. A library that makes normal Android Dialog to high level Dialog with many styling options and fully customizable. Make dialog from few lines of code.
Stars: ✭ 61 (+144%)
Mutual labels:  animated-gif, gif
KGySoft.Drawing
KGy SOFT Drawing is a library for advanced image, icon and graphics handling.
Stars: ✭ 27 (+8%)
Mutual labels:  animated-gif, gif
durdraw
Animated Unicode, ANSI and ASCII Art Editor for Linux/Unix/macOS
Stars: ✭ 55 (+120%)
Mutual labels:  animated-gif, gif
AnyImageKit
A toolbox for pick/edit/capture photo or video. Written in Swift.
Stars: ✭ 580 (+2220%)
Mutual labels:  gif
gfxprim
Open-source modular 2D bitmap graphics library with emphasis on speed and correctness.
Stars: ✭ 32 (+28%)
Mutual labels:  gif
whatisnewdialog
An Android library for displaying a dialog where it presents new features in the app.
Stars: ✭ 22 (-12%)
Mutual labels:  gif
stumpy gif
Write GIF images in pure Crystal
Stars: ✭ 18 (-28%)
Mutual labels:  gif
xaringanBuilder
An R package for building xaringan slides into multiple outputs, including html, pdf, png, gif, pptx, and mp4.
Stars: ✭ 157 (+528%)
Mutual labels:  gif
Kamel
Kotlin asynchronous media loading and caching library for Compose.
Stars: ✭ 138 (+452%)
Mutual labels:  gif
GifReversingBot
A Reddit bot that reverses gifs
Stars: ✭ 38 (+52%)
Mutual labels:  gif
togglific
Do you find web animations distracting? Togglific provides a distraction-free web experience!
Stars: ✭ 17 (-32%)
Mutual labels:  gif
gogif
The (no longer) missing GIF encoder for #golang
Stars: ✭ 21 (-16%)
Mutual labels:  gif
gifbar
🦄 Find Awesome Gif's right in your Menu Bar
Stars: ✭ 37 (+48%)
Mutual labels:  gif
ios-nd-gif-maker-swift
Resources for Udacity's Gif Maker app in Swift.
Stars: ✭ 13 (-48%)
Mutual labels:  gif
congif
convert script(1) output to GIF
Stars: ✭ 52 (+108%)
Mutual labels:  gif
View-Load-ReTry
这个加载框架有点不一样,针对View进行加载,加载页面还保持了原View的属性,侧重点在灵活,哪里需要加载哪里,加载状态页面完全自定义,无任何限制,针对加载结果可以按需配置对应页面,LeakCanary检测无内存泄漏
Stars: ✭ 116 (+364%)
Mutual labels:  gif
Among-Us-Dumpy-Gif-Maker
A tool to make dumpy among us GIFS
Stars: ✭ 537 (+2048%)
Mutual labels:  gif
sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (+724%)
Mutual labels:  gif
gif-player
Control your animated GIFs
Stars: ✭ 120 (+380%)
Mutual labels:  gif
GiphyImageResultsPreview
Library for GIF results, preview, play, share everything at one place!
Stars: ✭ 28 (+12%)
Mutual labels:  gif

gifken

npm version FOSSA Status

How to use

Split an animated GIF image in browser

<script type="module">
  import {reverse, split} from 'gifken'

  const imageUrl = '/01_Koch-Kurve-Sechseck-alt._Def.-2.gif'
  const response = await fetch(imageUrl)
  const buffer = await response.arrayBuffer()

  const results = await split(new Uint8Array(buffer))
  for (const result of results) {
    const img = new Image()
    img.src = URL.createObjectURL(new Blob([result], {type: 'image/gif'}))
    document.body.append(img)
  }
</script>

Reverse an animated GIF image with Node.js

const {readFileSync, writeFileSync} = require('fs')
const gifken = require('gifken')

gifken
  .reverse(readFileSync('./assets/01_Koch-Kurve-Sechseck-alt._Def.-2.gif'))
  .then(result => {
    writeFileSync('reverse.gif', result)
  })

Build

To build gifken, following tools are required

  • Node.js >=14
  • npm >=8
  • Cargo
  • wasm-bindgen
git clone *thisrepo*
cd gifken
npm install
npm run build

Similar Projects

License

MIT

FOSSA Status

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].