Skip to content

Commit

Permalink
Merge pull request #28 from domsec/release-v1.1.0
Browse files Browse the repository at this point in the history
Release v1.1.0
  • Loading branch information
domsec committed Dec 24, 2020
2 parents fb535f8 + bfee69e commit 31e4158
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
![Logo](logo.png)

[![Build Status](https://travis-ci.com/domsec/jpeg-autorotate.svg?token=c6xYTBupNRzyRLh2QynN&branch=master)](https://travis-ci.com/domsec/jpeg-autorotate)
![Maven Central with version prefix filter](https://img.shields.io/maven-central/v/com.domenicseccareccia/jpeg-autorotate/1.0.1)
[![javadoc](https://javadoc.io/badge2/com.domenicseccareccia/jpeg-autorotate/1.0.1/javadoc.svg)](https://javadoc.io/doc/com.domenicseccareccia/jpeg-autorotate/1.0.1)
![Maven Central with version prefix filter](https://img.shields.io/maven-central/v/com.domenicseccareccia/jpeg-autorotate/1.1.0)
[![javadoc](https://javadoc.io/badge2/com.domenicseccareccia/jpeg-autorotate/1.1.0/javadoc.svg)](https://javadoc.io/doc/com.domenicseccareccia/jpeg-autorotate/1.1.0)

JPEG Autorotate is a Java library to rotate JPEG images based on EXIF orientation.

Expand Down Expand Up @@ -48,7 +48,7 @@ Alternatively, you can install the library via its [Maven package](https://searc
<dependency>
<groupId>com.domenicseccareccia</groupId>
<artifactId>jpeg-autorotate</artifactId>
<version>1.0.1</version>
<version>1.1.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.domenicseccareccia</groupId>
<artifactId>jpeg-autorotate</artifactId>
<version>1.0.1</version>
<version>1.1.0</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,24 @@
* <li>Retains and does not alter other metadata tags</li>
* <li>Currently does not support updating MakerNotes metadata</li>
* </ul>
* <p>
* <dl>
* <dt><b>Usage:</b></dt>
* <dd>
* The following example code demonstrates how to use the library to load a JPEG image by
* either passing a {@code String} file path, {@code File} or {@code InputStream}, apply rotation,
* update metadata and return the image as {@code byte[]}.
* <p>
* <b>File path</b>
* <pre>
* // File path
* byte[] image = JpegAutorotate.rotate("path/to/directory");
*
* // OR
*
* // File
* byte[] image = JpegAutorotate.rotate(new File("path/to/directory"));
*
* // OR
*
* // InputStream
* byte[] image = JpegAutorotate.rotate(new FileInputStream(new File("path/to/directory")));
* byte[] image = JpegAutorotate.rotate("path/to/directory");
* </pre>
* <b>File</b>
* <pre>
* byte[] image = JpegAutorotate.rotate(new File("path/to/directory"));
* </pre>
* <b>InputStream</b>
* <pre>
* byte[] image = JpegAutorotate.rotate(new FileInputStream(new File("path/to/directory")));
* </pre>
* </dd>
* </dl>
Expand Down

0 comments on commit 31e4158

Please sign in to comment.