com.foreach.imageserver.dto.ImageDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imageserver-client Show documentation
Show all versions of imageserver-client Show documentation
ImageServer application modules.
package com.foreach.imageserver.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Object that represents an image
*
* @author Wouter Van Hecke
* @since 5.0.0
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ImageDto
{
/**
* The image in bytes
*/
private byte[] image;
/**
* The format of the images (example, PNG, JPEG, PDF, ...)
*/
private ImageTypeDto format;
}