This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
The following commit(s) were added to refs/heads/master by this push: new cbec8ffd Normalize spelling to US English cbec8ffd is described below commit cbec8ffd4467ab79ef11b48face37b5f28497c01 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Oct 31 06:19:39 2023 -0400 Normalize spelling to US English --- .../java/org/apache/commons/imaging/formats/png/ChunkType.java | 4 ++-- .../org/apache/commons/imaging/formats/png/PngConstants.java | 10 +++++----- .../java/org/apache/commons/imaging/formats/png/PngWriter.java | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java b/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java index 9e4fc913..c24b7ed5 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java @@ -54,7 +54,7 @@ public enum ChunkType { /** Significant bits*/ sBIT, - /** Standard RGB colour space */ + /** Standard RGB color space */ sRGB, /** Textual data */ @@ -66,7 +66,7 @@ public enum ChunkType { /** International textual data */ iTXt, - /** Background colour */ + /** Background color */ bKGD, /** Image histogram */ diff --git a/src/main/java/org/apache/commons/imaging/formats/png/PngConstants.java b/src/main/java/org/apache/commons/imaging/formats/png/PngConstants.java index bbc460cf..ef38a346 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/PngConstants.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/PngConstants.java @@ -29,20 +29,20 @@ public final class PngConstants { public static final byte FILTER_METHOD_ADAPTIVE = 0; /* - * Background colour Solid background colour to be used when presenting the + * Background color Solid background color to be used when presenting the * image if no better option is available. Gamma and chromaticity Gamma * characteristic of the image with respect to the desired output intensity, * and chromaticity characteristics of the RGB values used in the image. ICC - * profile Description of the colour space (in the form of an International + * profile Description of the color space (in the form of an International * Color Consortium (ICC) profile) to which the samples in the image * conform. Image histogram Estimates of how frequently the image uses each * palette entry. Physical pixel dimensions Intended pixel size and aspect * ratio to be used in presenting the PNG image. Significant bits The number - * of bits that are significant in the samples. sRGB colour space A + * of bits that are significant in the samples. sRGB color space A * rendering intent (as defined by the International Color Consortium) and - * an indication that the image samples conform to this colour space. + * an indication that the image samples conform to this color space. * Suggested palette A reduced palette that may be used when the display - * device is not capable of displaying the full range of colours in the + * device is not capable of displaying the full range of colors in the * image. Textual data Textual information (which may be compressed) * associated with the image. Time The time when the PNG image was last * modified. Transparency Alpha information that allows the reference image diff --git a/src/main/java/org/apache/commons/imaging/formats/png/PngWriter.java b/src/main/java/org/apache/commons/imaging/formats/png/PngWriter.java index a54aaaa0..719971f5 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/PngWriter.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/PngWriter.java @@ -631,7 +631,7 @@ public class PngWriter { os.close(); } // todo: filter types - // proper colour types + // proper color types // srgb, etc. private void writeInt(final OutputStream os, final int value) throws IOException {