Skip to content

Commit 191f147

Browse files
committed
Updates to version 5.0.0.0.
1 parent d2563da commit 191f147

34 files changed

+3160
-2028
lines changed

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,55 @@
44

55
-------------------------------------------------------------------------------
66

7+
### 5.0.0.0
8+
9+
#### Added
10+
11+
- FPS control
12+
- Color count control
13+
- The ability to load a GIF instead of just video files
14+
- Converts input GIFs to videos and caches the result
15+
- Tooltips to the main toggle buttons
16+
- Additional processing step of reducing each frame's colors if color count < 256 when saving to video
17+
- `PlayableMetadata`
18+
- Color count controls fuzz
19+
- Color count controls output video quality
20+
- Color count preview to first and last frame preview mode
21+
- Additional logging
22+
- `DuplicateRecordFields` to the GUI (GHC 8 only)
23+
- GUI preview resets
24+
- File size icon
25+
- Color count icon
26+
- FPS icon
27+
28+
#### Changed
29+
30+
- `getVideoDurationInSeconds` and `getVideoWidthAndHeight` to `getPlayableMetadata`
31+
- The width size is the size of the output after cropping instead of before
32+
- Uses the longer duration time instead of the shorter stream time
33+
- Switched from floats and doubles to just doubles
34+
- Adjust start and duration time steps based on file duration
35+
- Start and duration time spin buttons now show three decimal places
36+
- GUI preview function arguments to records
37+
- Fix crash when trying to load a directory
38+
- File icon
39+
- Start icon
40+
- End icon
41+
42+
#### Removed
43+
44+
- The quality setting
45+
- Label selection focus on the main toggle buttons
46+
- `qualityFromString`
47+
- `getVideoAverageFrameRateInSeconds`
48+
- `qualityAndFrameRateToGifSettings`
49+
- `qualityAndFrameRateToDelay`
50+
- `qualityAndFrameRateToFrameRate`
51+
- `safeFrameRate`
52+
- `defaultFrameRate`
53+
54+
-------------------------------------------------------------------------------
55+
756
### 4.0.0.0
857

958
#### Added

Gifcurry.cabal

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Gifcurry
2-
version: 4.0.0.0
2+
version: 5.0.0.0
33
synopsis: GIF creation utility.
44
description: Your open source video to GIF maker.
55
homepage: https://github.com/lettier/gifcurry
@@ -12,8 +12,7 @@ category: Application
1212
, Library
1313
, Graphics
1414
build-type: Simple
15-
extra-source-files: ./README.md
16-
, ./LICENSE
15+
extra-source-files: ./LICENSE
1716
, ./CHANGELOG.md
1817
, ./makefile
1918
, ./lib/GtkMainSyncAsync.hs
@@ -25,11 +24,14 @@ extra-source-files: ./README.md
2524
, ./src/data/style-3-20.css
2625
, ./src/data/about-dialog-button-image.svg
2726
, ./src/data/check-icon.svg
27+
, ./src/data/color-count-icon.svg
2828
, ./src/data/crop-icon.svg
2929
, ./src/data/down-icon.svg
3030
, ./src/data/end-icon.svg
3131
, ./src/data/error-icon.svg
3232
, ./src/data/file-icon.svg
33+
, ./src/data/file-size.svg
34+
, ./src/data/fps-icon.svg
3335
, ./src/data/gifcurry-logo.svg
3436
, ./src/data/gifcurry-icon.svg
3537
, ./src/data/info-icon.svg
@@ -62,11 +64,14 @@ data-files: data/gui.glade
6264
, data/style-3-20.css
6365
, data/about-dialog-button-image.svg
6466
, data/check-icon.svg
67+
, data/color-count-icon.svg
6568
, data/crop-icon.svg
6669
, data/down-icon.svg
6770
, data/end-icon.svg
6871
, data/error-icon.svg
6972
, data/file-icon.svg
73+
, data/file-size.svg
74+
, data/fps-icon.svg
7075
, data/gifcurry-logo.svg
7176
, data/gifcurry-icon.svg
7277
, data/info-icon.svg
@@ -125,7 +130,7 @@ executable gifcurry_gui
125130
, gi-gdkpixbuf == 2.0.16
126131
, gi-gtk == 3.0.*
127132
, gi-cairo == 1.0.*
128-
, gi-gst == 1.0.*
133+
, gi-gst == 1.0.16
129134
, gi-gstvideo == 1.0.*
130135
, cairo == 0.13.*
131136
, pango == 0.13.*
@@ -137,6 +142,7 @@ executable gifcurry_gui
137142
, filepath == 1.4.*
138143
, filemanip == 0.3.6.*
139144
, transformers == 0.5.*
145+
, pureMD5 == 2.1.*
140146
other-modules: Paths_Gifcurry
141147
, GuiRecords
142148
, GuiCapabilities

README.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Gifcurry](https://i.imgur.com/9pS8Ibp.png)
1+
![Gifcurry](https://i.imgur.com/KFZyEqq.png)
22

33
# Tell me about Gifcurry.
44

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

4546
Gifcurry comes in handy for all sorts of scenarios.
4647

4748
## What does the GUI look like?
4849

49-
![Gifcurry GUI](https://i.imgur.com/IhB50O1.gif)
50+
![Gifcurry GUI](https://i.imgur.com/ByyCNuk.gif)
5051

5152

5253
## How do I use the command line interface (CLI)?
@@ -64,11 +65,11 @@ TIME:
6465
-d --duration-time=NUM How long the GIF lasts (in seconds) from the
6566
start time.
6667
OUTPUT FILE SIZE:
67-
-w --width-size=INT How wide the GIF needs to be. Height will
68+
-w --width=INT How wide the GIF needs to be. Height will
6869
scale to match.
69-
-q --quality=ITEM Controls how many colors are used and the
70-
frame rate.
71-
The options are High, Medium, and Low.
70+
-f --fps=INT How many frames per second the output should
71+
have.
72+
-c --color-count=INT How many colors are used in the output.
7273
CROP:
7374
-L --left-crop=NUM The amount you wish to crop from the left.
7475
-R --right-crop=NUM The amount you wish to crop from the right.
@@ -112,6 +113,8 @@ gifcurry_cli \
112113
-d 1 \
113114
-t ~/tmp/text-overlays.yaml \
114115
-w 800 \
116+
-f 15 \
117+
-c 100 \
115118
-q High \
116119
-L 0.1 \
117120
-R 0.1 \
@@ -133,7 +136,7 @@ gifcurry_cli \
133136
          ▀▀▀▀▀▀▀                                                                             
134137
135138
136-
Gifcurry 4.0.0.0
139+
Gifcurry 5.0.0.0
137140
(C) 2016 David Lettier
138141
lettier.com
139142
@@ -147,8 +150,9 @@ lettier.com
147150
- Start Second: 150.000
148151
- Duration Time: 1.000 seconds
149152
- OUTPUT FILE SIZE:
150-
- Width Size: 800px
151-
- Quality: High
153+
- Width: 800px
154+
- FPS: 15
155+
- Color Count: 100
152156
- TEXT:
153157
- Text: This is a test.
154158
- Font:
@@ -158,7 +162,7 @@ lettier.com
158162
- Stretch: Normal
159163
- Weight: 800
160164
- Time:
161-
- Start: 150.000 seconds
165+
- Start Second: 150.000
162166
- Duration: 20.000 seconds
163167
- Translation:
164168
- Origin: NorthWest
@@ -179,6 +183,7 @@ lettier.com
179183
180184
[INFO] Writing the temporary frames to: /home/.cache/gifcurry/gifcurry-frames30450
181185
[INFO] Adding text...
186+
[INFO] Converting the frames to the specified color count.
182187
[INFO] Saving your video to: /home/tmp/test.webm
183188
[INFO] All done.
184189
```
@@ -193,23 +198,23 @@ To find the latest version of Gifcurry, head over to the
193198
### I use Linux.
194199

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

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

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

261266
### I use Mac.

0 commit comments

Comments
 (0)