Skip to content

Commit

Permalink
Fix version handling in binary transport endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schüth committed Mar 27, 2017
1 parent 81231ff commit d7586a3
Show file tree
Hide file tree
Showing 6 changed files with 226 additions and 119 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.gentics.mesh.core.image.spi;

/**
* Container object which holds image information.
*/
public class ImageInfo {

private Integer width;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@ public interface ImageManipulator {
* Resize the given binary file and return a buffer to the resized image data.
*
* @param binaryFile
* Binary file in the filesystem to be used for resizing
* @param sha512sum
* @param imageRequestParameter
* @return
*/
Single<Buffer> handleResize(File binaryFile, String sha512sum, ImageManipulationParameters imageRequestParameter);

/**
* Read the inputstream and resize the image data.
* Read the {@link InputStream} and resize the image data.
*
* @param ins
* @param sha512sum
* @param parameters
* @return
* @return Buffer which contains the resized image data
*/
Single<Buffer> handleResize(InputStream ins, String sha512sum, ImageManipulationParameters parameters);

Expand Down
Loading

0 comments on commit d7586a3

Please sign in to comment.