Skip to content

Commit

Permalink
Updates to version 5.0.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
lettier committed Sep 1, 2018
1 parent d2563da commit b8badca
Show file tree
Hide file tree
Showing 34 changed files with 3,161 additions and 2,029 deletions.
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,55 @@

-------------------------------------------------------------------------------

### 5.0.0.0

#### Added

- FPS control
- Color count control
- The ability to load a GIF instead of just video files
- Converts input GIFs to videos and caches the result
- Tooltips to the main toggle buttons
- Additional processing step of reducing each frame's colors if color count < 256 when saving to video
- `PlayableMetadata`
- Color count controls fuzz
- Color count controls output video quality
- Color count preview to first and last frame preview mode
- Additional logging
- `DuplicateRecordFields` to the GUI (GHC 8 only)
- GUI preview resets
- File size icon
- Color count icon
- FPS icon

#### Changed

- `getVideoDurationInSeconds` and `getVideoWidthAndHeight` to `getPlayableMetadata`
- The width size is the size of the output after cropping instead of before
- Uses the longer duration time instead of the shorter stream time
- Switched from floats and doubles to just doubles
- Adjust start and duration time steps based on file duration
- Start and duration time spin buttons now show three decimal places
- GUI preview function arguments to records
- Fix crash when trying to load a directory
- File icon
- Start icon
- End icon

#### Removed

- The quality setting
- Label selection focus on the main toggle buttons
- `qualityFromString`
- `getVideoAverageFrameRateInSeconds`
- `qualityAndFrameRateToGifSettings`
- `qualityAndFrameRateToDelay`
- `qualityAndFrameRateToFrameRate`
- `safeFrameRate`
- `defaultFrameRate`

-------------------------------------------------------------------------------

### 4.0.0.0

#### Added
Expand Down
14 changes: 10 additions & 4 deletions Gifcurry.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Gifcurry
version: 4.0.0.0
version: 5.0.0.0
synopsis: GIF creation utility.
description: Your open source video to GIF maker.
homepage: https://github.com/lettier/gifcurry
Expand All @@ -12,8 +12,7 @@ category: Application
, Library
, Graphics
build-type: Simple
extra-source-files: ./README.md
, ./LICENSE
extra-source-files: ./LICENSE
, ./CHANGELOG.md
, ./makefile
, ./lib/GtkMainSyncAsync.hs
Expand All @@ -25,11 +24,14 @@ extra-source-files: ./README.md
, ./src/data/style-3-20.css
, ./src/data/about-dialog-button-image.svg
, ./src/data/check-icon.svg
, ./src/data/color-count-icon.svg
, ./src/data/crop-icon.svg
, ./src/data/down-icon.svg
, ./src/data/end-icon.svg
, ./src/data/error-icon.svg
, ./src/data/file-icon.svg
, ./src/data/file-size.svg
, ./src/data/fps-icon.svg
, ./src/data/gifcurry-logo.svg
, ./src/data/gifcurry-icon.svg
, ./src/data/info-icon.svg
Expand Down Expand Up @@ -62,11 +64,14 @@ data-files: data/gui.glade
, data/style-3-20.css
, data/about-dialog-button-image.svg
, data/check-icon.svg
, data/color-count-icon.svg
, data/crop-icon.svg
, data/down-icon.svg
, data/end-icon.svg
, data/error-icon.svg
, data/file-icon.svg
, data/file-size.svg
, data/fps-icon.svg
, data/gifcurry-logo.svg
, data/gifcurry-icon.svg
, data/info-icon.svg
Expand Down Expand Up @@ -125,7 +130,7 @@ executable gifcurry_gui
, gi-gdkpixbuf == 2.0.16
, gi-gtk == 3.0.*
, gi-cairo == 1.0.*
, gi-gst == 1.0.*
, gi-gst == 1.0.16
, gi-gstvideo == 1.0.*
, cairo == 0.13.*
, pango == 0.13.*
Expand All @@ -137,6 +142,7 @@ executable gifcurry_gui
, filepath == 1.4.*
, filemanip == 0.3.6.*
, transformers == 0.5.*
, pureMD5 == 2.1.*
other-modules: Paths_Gifcurry
, GuiRecords
, GuiCapabilities
Expand Down
37 changes: 21 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Gifcurry](https://i.imgur.com/9pS8Ibp.png)
![Gifcurry](https://i.imgur.com/KFZyEqq.png)

# Tell me about Gifcurry.

Expand Down Expand Up @@ -41,12 +41,13 @@ Can't find the perfect GIF for that reply-all email? Gifcurry.
Your README needs a GIF? Gifcurry.
That presentation slide could use some animation? Gifcurry.
Video doesn't auto play on iOS? Gifcurry.
Time to promote your indie game? Gifcurry.

Gifcurry comes in handy for all sorts of scenarios.

## What does the GUI look like?

![Gifcurry GUI](https://i.imgur.com/IhB50O1.gif)
![Gifcurry GUI](https://i.imgur.com/ByyCNuk.gif)


## How do I use the command line interface (CLI)?
Expand All @@ -64,11 +65,11 @@ TIME:
-d --duration-time=NUM How long the GIF lasts (in seconds) from the
start time.
OUTPUT FILE SIZE:
-w --width-size=INT How wide the GIF needs to be. Height will
-w --width=INT How wide the GIF needs to be. Height will
scale to match.
-q --quality=ITEM Controls how many colors are used and the
frame rate.
The options are High, Medium, and Low.
-f --fps=INT How many frames per second the output should
have.
-c --color-count=INT How many colors are used in the output.
CROP:
-L --left-crop=NUM The amount you wish to crop from the left.
-R --right-crop=NUM The amount you wish to crop from the right.
Expand Down Expand Up @@ -112,6 +113,8 @@ gifcurry_cli \
-d 1 \
-t ~/tmp/text-overlays.yaml \
-w 800 \
-f 15 \
-c 100 \
-q High \
-L 0.1 \
-R 0.1 \
Expand All @@ -133,7 +136,7 @@ gifcurry_cli \
          ▀▀▀▀▀▀▀                                                                             
Gifcurry 4.0.0.0
Gifcurry 5.0.0.0
(C) 2016 David Lettier
lettier.com
Expand All @@ -147,8 +150,9 @@ lettier.com
- Start Second: 150.000
- Duration Time: 1.000 seconds
- OUTPUT FILE SIZE:
- Width Size: 800px
- Quality: High
- Width: 800px
- FPS: 15
- Color Count: 100
- TEXT:
- Text: This is a test.
- Font:
Expand All @@ -158,7 +162,7 @@ lettier.com
- Stretch: Normal
- Weight: 800
- Time:
- Start: 150.000 seconds
- Start Second: 150.000
- Duration: 20.000 seconds
- Translation:
- Origin: NorthWest
Expand All @@ -178,7 +182,8 @@ lettier.com
- Bottom: 0.100
[INFO] Writing the temporary frames to: /home/.cache/gifcurry/gifcurry-frames30450
[INFO] Adding text...
[INFO] Adding text.
[INFO] Converting the frames to the specified color count.
[INFO] Saving your video to: /home/tmp/test.webm
[INFO] All done.
```
Expand All @@ -193,23 +198,23 @@ To find the latest version of Gifcurry, head over to the
### I use Linux.

If you use Linux then the easiest way to grab a copy of Gifcurry is by downloading the
[AppImage](https://github.com/lettier/gifcurry/releases/download/4.0.0.0/gifcurry-4.0.0.0-x86_64.AppImage).
[AppImage](https://github.com/lettier/gifcurry/releases/download/5.0.0.0/gifcurry-5.0.0.0-x86_64.AppImage).
After you download the
[AppImage](https://github.com/lettier/gifcurry/releases/download/4.0.0.0/gifcurry-4.0.0.0-x86_64.AppImage),
[AppImage](https://github.com/lettier/gifcurry/releases/download/5.0.0.0/gifcurry-5.0.0.0-x86_64.AppImage),
right click on it, select permissions, and check the box near execute.
With that out of the way—you're all set—just double click on the AppImage
and the GUI will fire right up.

You can also download and install the
[AppImage](https://github.com/lettier/gifcurry/releases/download/4.0.0.0/gifcurry-4.0.0.0-x86_64.AppImage)
[AppImage](https://github.com/lettier/gifcurry/releases/download/5.0.0.0/gifcurry-5.0.0.0-x86_64.AppImage)
using the handy
[AppImage install script](https://raw.githubusercontent.com/lettier/gifcurry/master/packaging/linux/app-image/gifcurry-app-image-install.sh)
(right click and save link as).
Download the script, right click on it, select permissions, check the box near execute, and double click on it.
You should now see Gifcurry listed alongside your other installed programs.

If you want the CLI then download the
[prebuilt version](https://github.com/lettier/gifcurry/releases/download/4.0.0.0/gifcurry-linux-4.0.0.0.tar.gz)
[prebuilt version](https://github.com/lettier/gifcurry/releases/download/5.0.0.0/gifcurry-linux-5.0.0.0.tar.gz)
for Linux, extract it, open up your terminal,
`cd` to the bin folder, and then run `gifcurry_cli -?`.
As an added bonus, inside the bin directory is the GUI version
Expand Down Expand Up @@ -255,7 +260,7 @@ The
[Gifcurry snap](https://snapcraft.io/gifcurry)
only comes with the GUI.
If you want the CLI, download the
[prebuilt version](https://github.com/lettier/gifcurry/releases/download/4.0.0.0/gifcurry-linux-4.0.0.0.tar.gz)
[prebuilt version](https://github.com/lettier/gifcurry/releases/download/5.0.0.0/gifcurry-linux-5.0.0.0.tar.gz)
for Linux.

### I use Mac.
Expand Down
Loading

0 comments on commit b8badca

Please sign in to comment.