Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ public void iotest(){
}

{// save Stream load Stream
Img img = new Img(100, 100);
// need uniform grey so jpeg compression will not alter the color
img.fill(0xff888888);
Img img = getTestImg(64,64);
ByteArrayOutputStream out = new ByteArrayOutputStream();
ImageSaver.saveImage(img.getRemoteBufferedImage(), out, "jpg");
ImageSaver.saveImage(img.getRemoteBufferedImage(), out, "png");
BufferedImage bimg = ImageLoader.loadImage(
new ByteArrayInputStream(out.toByteArray()), BufferedImage.TYPE_INT_ARGB);
Img loaded = Img.createRemoteImg(bimg);
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#### [Master Branch](https://github.com/hageldave/ImagingKit/tree/master)
[![Build Status](https://travis-ci.org/hageldave/ImagingKit.svg?branch=master)](https://travis-ci.org/hageldave/ImagingKit/branches)
[![Coverage Status](https://coveralls.io/repos/github/hageldave/ImagingKit/badge.svg?branch=master)](https://coveralls.io/github/hageldave/ImagingKit?branch=master)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.hageldave.imagingkit/imagingkit-core.svg)](http://search.maven.org/#artifactdetails|com.github.hageldave.imagingkit|imagingkit-core|2.0|jar)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.hageldave.imagingkit/imagingkit-core.svg)](http://search.maven.org/#artifactdetails|com.github.hageldave.imagingkit|imagingkit-core|2.1|jar)
---
#### [Development Branch](https://github.com/hageldave/ImagingKit/tree/devel2.0)
[![Build Status](https://travis-ci.org/hageldave/ImagingKit.svg?branch=devel2.0)](https://travis-ci.org/hageldave/ImagingKit/branches)
Expand All @@ -16,13 +16,13 @@ So far the *ImagingKit-Core* and *ImagingKit-Fourier* artifacts of the library a
<dependency>
<groupId>com.github.hageldave.imagingkit</groupId>
<artifactId>imagingkit-core</artifactId>
<version>2.0</version>
<version>2.1</version>
</dependency>

<dependency>
<groupId>com.github.hageldave.imagingkit</groupId>
<artifactId>imagingkit-fourier</artifactId>
<version>2.0</version>
<version>2.1</version>
</dependency>
```

Expand Down