public class ImageHelper extends Object
| Constructor and Description |
|---|
ImageHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
crop(String path,
String target,
int top,
int left,
int width,
int height,
boolean forceReplace,
JCRSessionWrapper session,
Locale uiLocale) |
void |
resizeImage(String path,
String target,
int width,
int height,
boolean forceReplace,
JCRSessionWrapper session,
Locale uiLocale) |
void |
rotateImage(String path,
String target,
boolean clockwise,
boolean forceReplace,
JCRSessionWrapper session,
Locale uiLocale) |
void |
setContentManager(ContentManagerHelper contentManager) |
void |
setImageService(JahiaImageService imageService) |
public void setContentManager(ContentManagerHelper contentManager)
public void setImageService(JahiaImageService imageService)
public void crop(String path, String target, int top, int left, int width, int height, boolean forceReplace, JCRSessionWrapper session, Locale uiLocale) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic void resizeImage(String path, String target, int width, int height, boolean forceReplace, JCRSessionWrapper session, Locale uiLocale) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic void rotateImage(String path, String target, boolean clockwise, boolean forceReplace, JCRSessionWrapper session, Locale uiLocale) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.