Skip to content

Commit

Permalink
Release 0.3.11 !
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyettinger committed Nov 5, 2022
1 parent cfb4752 commit e30ebf6
Show file tree
Hide file tree
Showing 21 changed files with 87 additions and 48 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ A typical Gradle dependency on anim8 looks like this (in the core module's depen
dependencies {
//... other dependencies are here, like libGDX 1.9.11 or higher
// libGDX 1.11.0 is recommended currently, but versions as old as 1.9.11 work.
api "com.github.tommyettinger:anim8-gdx:0.3.10"
api "com.github.tommyettinger:anim8-gdx:0.3.11"
}
```

Expand All @@ -57,7 +57,7 @@ You can also get a specific commit using JitPack, by following the instructions
commit, unless you are experiencing problems with one in particular.)

A .gwt.xml file is present in the sources jar, and because GWT needs it, you can depend on the sources jar with
`implementation "com.github.tommyettinger:anim8-gdx:0.3.10:sources"`. The PNG-related code isn't available on GWT
`implementation "com.github.tommyettinger:anim8-gdx:0.3.11:sources"`. The PNG-related code isn't available on GWT
because it needs `java.util.zip`, which is unavailable there, but PaletteReducer and AnimatedGif should both work. The
GWT inherits line, which is needed in `GdxDefinition.gwt.xml` if no dependencies already have it, is:
```xml
Expand Down Expand Up @@ -149,6 +149,7 @@ different API).
- The dithering algorithm is really just adding or subtracting a relatively small amount of error from each pixel,
before finding the closest color to that pixel's value with error.
- This is much like GRADIENT_NOISE, but milder, or BLUE_NOISE, but stronger.
- This changed somewhat in version 0.3.11 .
- WOVEN
- This is an error-diffusion dither, like NEUE or SCATTER, but instead of using blue noise patterns to add error to
the image, this uses the finer-grained "fuzzy" pattern from ROBERTS.
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.21.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
}
}

Expand All @@ -25,7 +25,7 @@ def projectName = 'anim8-gdx'
version "$VERSION_NAME"
group 'com.github.tommyettinger'

//api "com.github.tommyettinger:anim8-gdx:0.3.7"
//api "com.github.tommyettinger:anim8-gdx:0.3.11"

//def gdxVersion = '1.10.0'
def gdxVersion = '1.9.11'
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>All Classes and Interfaces (anim8-gdx 0.3.10 API)</title>
<title>All Classes and Interfaces (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="class index">
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>All Packages (anim8-gdx 0.3.10 API)</title>
<title>All Packages (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="package index">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>AnimatedGif (anim8-gdx 0.3.10 API)</title>
<title>AnimatedGif (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: AnimatedGif">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>AnimatedPNG (anim8-gdx 0.3.10 API)</title>
<title>AnimatedPNG (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: AnimatedPNG">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>AnimationWriter (anim8-gdx 0.3.10 API)</title>
<title>AnimationWriter (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, interface: AnimationWriter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Dithered.DitherAlgorithm (anim8-gdx 0.3.10 API)</title>
<title>Dithered.DitherAlgorithm (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, interface: Dithered, enum: DitherAlgorithm">
Expand Down Expand Up @@ -174,6 +174,12 @@ <h2>Enum Constant Summary</h2>
amount of triangular-distributed blue noise, and unlike <a href="#CHAOTIC_NOISE"><code>CHAOTIC_NOISE</code></a>, it doesn't introduce white
noise.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#WOVEN" class="member-name-link">WOVEN</a></code></div>
<div class="col-last odd-row-color">
<div class="block">An error-diffusion dither much like <a href="#NEUE"><code>NEUE</code></a>, except that it adds or subtracts a different error value
from each RGB channel, and that it uses translated copies of the R2 dither used by <a href="#ROBERTS"><code>ROBERTS</code></a>, instead
of using blue noise in any way.</div>
</div>
</div>
</section>
</li>
Expand Down Expand Up @@ -352,6 +358,21 @@ <h3>ROBERTS</h3>
usually desirable, but not always).</div>
</section>
</li>
<li>
<section class="detail" id="WOVEN">
<h3>WOVEN</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="Dithered.DitherAlgorithm.html" title="enum class in com.github.tommyettinger.anim8">Dithered.DitherAlgorithm</a></span>&nbsp;<span class="element-name">WOVEN</span></div>
<div class="block">An error-diffusion dither much like <a href="#NEUE"><code>NEUE</code></a>, except that it adds or subtracts a different error value
from each RGB channel, and that it uses translated copies of the R2 dither used by <a href="#ROBERTS"><code>ROBERTS</code></a>, instead
of using blue noise in any way. Modifying each channel separately can help color quality a lot, especially if
dither strength is high. R2 dither tends to have very fine-grained artifacts that are hard to notice, but
using a different translation for red, green, and blue means that sometimes the artifacts align for two or
more channels repeatedly, forming somewhat-noticeable light and dark patterns that look like scales or dots.
The artifacts here are usually less obvious than the ones in <a href="#NEUE"><code>NEUE</code></a> at the same dither strength. This
is an excellent choice for still images, especially those with small, varied palettes. It is not expected to
be as good for animations as an ordered dither.</div>
</section>
</li>
</ul>
</section>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/com/github/tommyettinger/anim8/Dithered.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Dithered (anim8-gdx 0.3.10 API)</title>
<title>Dithered (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, interface: Dithered">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>OtherMath.BiasGain (anim8-gdx 0.3.10 API)</title>
<title>OtherMath.BiasGain (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: OtherMath, class: BiasGain">
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/com/github/tommyettinger/anim8/OtherMath.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>OtherMath (anim8-gdx 0.3.10 API)</title>
<title>OtherMath (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: OtherMath">
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs/com/github/tommyettinger/anim8/PNG8.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>PNG8 (anim8-gdx 0.3.10 API)</title>
<title>PNG8 (anim8-gdx 0.3.11 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: PNG8">
Expand Down Expand Up @@ -1012,7 +1012,7 @@ <h3>write</h3>
com.badlogic.gdx.utils.Array&lt;com.badlogic.gdx.graphics.Pixmap&gt;&nbsp;frames)</span></div>
<div class="block">Writes the given Pixmaps to the requested FileHandle at 30 frames per second.
If <a href="#palette"><code>palette</code></a> is null (the default unless it has been assigned a PaletteReducer value), this will
compute a palette from all of the frames given. Otherwise, this uses the colors already in <a href="#palette"><code>palette</code></a>.
compute a palette from all the frames given. Otherwise, this uses the colors already in <a href="#palette"><code>palette</code></a>.
Uses <a href="#getDitherAlgorithm()"><code>getDitherAlgorithm()</code></a> to determine how to dither.</div>
<dl class="notes">
<dt>Specified by:</dt>
Expand Down
Loading

0 comments on commit e30ebf6

Please sign in to comment.