Skip to content

simonox/maven-jpegtran-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This maven plugin invokes JPEGTran on a set of images. JPEGTran is a JPG optimizer which reduces the file size of images.

For sufficient performance of your build process, this plugin processes images in parallel.

This Plugin is just a fork of the maven-optipng-plugin.

Requirements

It is assumed that you have jpegtran installed on your system and that the executable is available within your $PATH.

This plugin has only been tested on OS X.

Usage

The following snippet demonstates a sample usage of this plugin.

		<plugin>
					        <groupId>de.holisticon</groupId>
					        <artifactId>jpegtran-maven-plugin</artifactId>
					        <version>1.0-SNAPSHOT</version>
					       	<executions>
					            <execution>
					                <goals>
					                    <goal>optimize</goal>
					                </goals>
					            </execution>
					        </executions>
					        <configuration>
					            <jpegDirectories>
					                <jpegDirectory>${basedir}/src/main/webapp/img/JustinMezzel</jpegDirectory>
					                <jpegDirectory>${basedir}/src/main/webapp/img/OliverOchs</jpegDirectory>
					            </jpegDirectories>
					        </configuration>
					</plugin>

About

A Plugin just to optimize JPEGs in a Maven Build Process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages