Skip to content

Commit

Permalink
First Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtabaJ committed Jul 23, 2022
1 parent b55c881 commit 6ddd960
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 23 deletions.
34 changes: 30 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,37 @@
# WebP Converter
# WebP Converter ![Maven Central](https://img.shields.io/maven-central/v/io.github.mojtabaj/c-webp)
A simple compression utility for converting images (jpeg, png, tiff) to **WebP** format.


A simple and easy to use image converter to convert images (jpeg, png, tiff, webp) to **WebP** format.

Please make sure to install `cwebp` on your machine, e.g. via https://developers.google.com/speed/webp/docs/precompiled
## Installation

- First make sure to install `cwebp` on your machine, e.g. via [this link](https://developers.google.com/speed/webp/docs/precompiled)


### Maven dependency

```xml
<dependency>
<groupId>io.github.mojtabaj</groupId>
<artifactId>c-webp</artifactId>
<version>1.0.1</version>
</dependency>
```

---

License
=======
Copyright 2022 Mojtaba Jalambadani

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
51 changes: 32 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

<groupId>io.github.mojtabaj</groupId>
<artifactId>c-webp</artifactId>
<version>1.0.0</version>

<version>1.0.1</version>
<packaging>jar</packaging>

<name>WebP Converter</name>
<description>Convert JPEG and PNG to WebP</description>
Expand Down Expand Up @@ -40,7 +40,7 @@
<scm>
<connection>scm:git:git://github.com/mojtabaJ/c-webp.git</connection>
<developerConnection>scm:git:ssh:github.com:mojtabaJ/c-webp.git</developerConnection>
<url>http://github.com/mojtabaJ/c-webp/master</url>
<url>https://github.com/mojtabaJ/c-webp/master</url>
</scm>


Expand All @@ -54,7 +54,6 @@


<distributionManagement>

<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
Expand All @@ -74,30 +73,18 @@
</dependencies>

<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<version>1.6.8</version>
<extensions>true</extensions>

<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -115,6 +102,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -124,7 +114,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand All @@ -143,7 +132,31 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>

</plugins>
</build>
Expand Down

0 comments on commit 6ddd960

Please sign in to comment.