Skip to content

Commit

Permalink
Release v0.0.12 with new properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
vonnieda committed Jan 28, 2018
1 parent 0267ba1 commit e8b5cfb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: java

install: true

before_install: ./scripts/download-openpnp-capture.sh v0.0.11
before_install: ./scripts/download-openpnp-capture.sh v0.0.12

script: mvn clean package

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openpnp</groupId>
<artifactId>openpnp-capture-java</artifactId>
<version>0.0.11</version>
<version>0.0.12</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/openpnp/capture/CaptureProperty.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
import org.openpnp.capture.library.OpenpnpCaptureLibrary;

public enum CaptureProperty {
BackLightCompensation(OpenpnpCaptureLibrary.CAPPROPID_BACKLIGHTCOMP),
Brightness(OpenpnpCaptureLibrary.CAPPROPID_BRIGHTNESS),
Contrast(OpenpnpCaptureLibrary.CAPPROPID_CONTRAST),
Exposure(OpenpnpCaptureLibrary.CAPPROPID_EXPOSURE),
Focus(OpenpnpCaptureLibrary.CAPPROPID_FOCUS),
Gain(OpenpnpCaptureLibrary.CAPPROPID_GAIN),
Gamma(OpenpnpCaptureLibrary.CAPPROPID_GAMMA),
Hue(OpenpnpCaptureLibrary.CAPPROPID_HUE),
PowerLineFrequency(OpenpnpCaptureLibrary.CAPPROPID_POWERLINEFREQ),
Saturation(OpenpnpCaptureLibrary.CAPPROPID_SATURATION),
Sharpness(OpenpnpCaptureLibrary.CAPPROPID_SHARPNESS),
WhiteBalance(OpenpnpCaptureLibrary.CAPPROPID_WHITEBALANCE),
Zoom(OpenpnpCaptureLibrary.CAPPROPID_ZOOM)
;
Expand Down

0 comments on commit e8b5cfb

Please sign in to comment.