Skip to content

Commit

Permalink
Reduce gif file size, close #121 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-dray authored Jan 17, 2024
1 parent f5acf96 commit b4a43a8
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: a11ytables
Title: Create Spreadsheet Publications Following Best Practice
Version: 0.3
Version: 0.3.0.9001
Authors@R: c(
person(given = "Matt", family = "Dray", role = c("aut", "cre"), email = "mwdray@gmail.com"),
person(given = "Tim", family = "Taylor", role = "ctb"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# a11ytables 0.3.0.9001

* Reduce gif file size, include additional frame (#121).

# a11ytables 0.3.0

## Breaking changes
Expand Down
44 changes: 22 additions & 22 deletions a11ytables.Rproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Version: 1.0
RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX
AutoAppendNewline: Yes
StripTrailingWhitespace: Yes
LineEndingConversion: Posix
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
Version: 1.0

RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes
LineEndingConversion: Posix

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
10 changes: 3 additions & 7 deletions data-raw/gif-vignette-workbook.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ image_paths <- list.files(
img_cover <- image_read(image_paths[1])
img_contents <- image_read(image_paths[2])
img_notes <- image_read(image_paths[3])
img_table <- image_read(image_paths[4])
img_table_1 <- image_read(image_paths[4])
img_table_2 <- image_read(image_paths[4])

images <- c(
img_cover,
img_contents,
img_notes,
img_table
)
images <- c(img_cover, img_contents, img_notes, img_table_1, img_table_2)

animation <- image_animate(images, fps = 1, dispose = "previous")

Expand Down
Binary file removed man/figures/screenshot-1.png
Binary file not shown.
Binary file removed man/figures/screenshot-2.png
Binary file not shown.
Binary file removed man/figures/screenshot-3.png
Binary file not shown.
Binary file removed man/figures/screenshot-4.png
Binary file not shown.
Binary file removed man/figures/screenshot-5.png
Binary file not shown.
Binary file modified man/figures/vignette-workbook.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b4a43a8

Please sign in to comment.