Uses of Class
com.atlassian.confluence.content.render.image.ImageDimensions
-
-
Uses of ImageDimensions in com.atlassian.confluence.content.render.image
Fields in com.atlassian.confluence.content.render.image declared as ImageDimensions Modifier and Type Field Description static ImageDimensions
ImageDimensions. EMPTY
Methods in com.atlassian.confluence.content.render.image that return ImageDimensions Modifier and Type Method Description static ImageDimensions
ImageRenderUtils. dimensionsForImage(InputStream is)
static ImageDimensions
ImageRenderUtils. dimensionsForImage(ImageInputStream inputStream)
Helper class that uses anImageReader
to determine the width and height of an image.Methods in com.atlassian.confluence.content.render.image with parameters of type ImageDimensions Modifier and Type Method Description boolean
MemoryAwareImageRenderPredicate. test(ImageDimensions imageDimensions)
boolean
SimpleImageSizeRenderPredicate. test(ImageDimensions input)
-
Uses of ImageDimensions in com.atlassian.confluence.impl.pages.thumbnail
Methods in com.atlassian.confluence.impl.pages.thumbnail with parameters of type ImageDimensions Modifier and Type Method Description default File
ThumbnailManagerInternal. getThumbnailFile(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Deprecated.since 7.14com.atlassian.dc.filestore.api.compat.FilesystemPath
ThumbnailManagerInternal. getThumbnailPath(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
-
Uses of ImageDimensions in com.atlassian.confluence.impl.pages.thumbnail.renderer
Methods in com.atlassian.confluence.impl.pages.thumbnail.renderer that return ImageDimensions Modifier and Type Method Description static ImageDimensions
ThumbnailRenderer. dimensions(File inputFile)
static ImageDimensions
ThumbnailRenderer. dimensions(InputStream inputStream)
Constructor parameters in com.atlassian.confluence.impl.pages.thumbnail.renderer with type arguments of type ImageDimensions Constructor Description DelegatingThumbnailRenderer(com.atlassian.core.util.thumbnail.Thumber thumber, AttachmentManager attachmentManager, Predicate<ImageDimensions> rasterBasedRenderingThreshold)
Create a DelegatingThumbnailRenderer that will use therasterBasedRenderingThreshold
Predicate to decide if it's going to use the stream based (lower quality but low memory consumption) or the raster based renderer (higher quality but high memory consumption).ThumbnailRenderer(com.atlassian.core.util.thumbnail.Thumber thumber, Predicate<ImageDimensions> rasterBasedRenderingThreshold)
-
Uses of ImageDimensions in com.atlassian.confluence.macro
Methods in com.atlassian.confluence.macro that return ImageDimensions Modifier and Type Method Description ImageDimensions
DefaultImagePlaceholder. getImageDimensions()
default ImageDimensions
ImagePlaceholder. getImageDimensions()
Returns the dimensions that the image is to be rendered as.Constructors in com.atlassian.confluence.macro with parameters of type ImageDimensions Constructor Description DefaultImagePlaceholder(String url, boolean applyPlaceholderChrome, ImageDimensions imageDimensions)
-
Uses of ImageDimensions in com.atlassian.confluence.pages.thumbnail
Methods in com.atlassian.confluence.pages.thumbnail that return ImageDimensions Modifier and Type Method Description ImageDimensions
Dimensions. getImageDimensions()
Deprecated.Methods in com.atlassian.confluence.pages.thumbnail with parameters of type ImageDimensions Modifier and Type Method Description com.atlassian.core.util.thumbnail.Thumbnail
DefaultThumbnailManager. getThumbnail(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
com.atlassian.core.util.thumbnail.Thumbnail
ThumbnailManager. getThumbnail(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only if it doesn't already exist.InputStream
DefaultThumbnailManager. getThumbnailData(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
InputStream
ThumbnailManager. getThumbnailData(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.File
ThumbnailManager. getThumbnailFile(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Deprecated.ThumbnailInfo
DefaultThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
ThumbnailInfo
DefaultThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable String remoteAttachmentPath, @Nullable ImageDimensions imageDimensions)
ThumbnailInfo
ThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.ThumbnailInfo
ThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable String rootAttachmentPath, @Nullable ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.com.atlassian.dc.filestore.api.compat.FilesystemPath
DefaultThumbnailManager. getThumbnailPath(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Constructors in com.atlassian.confluence.pages.thumbnail with parameters of type ImageDimensions Constructor Description Dimensions(ImageDimensions imageDimensions)
Deprecated.ThumbnailInfo(ImageDetails imageDetails, ImageDimensions maxDimensions, String attachmentsPath)
Creates a thumbnail info for the given image details and maximum dimensions. -
Uses of ImageDimensions in com.atlassian.confluence.setup.settings
Methods in com.atlassian.confluence.setup.settings that return ImageDimensions Modifier and Type Method Description ImageDimensions
Settings. getMaxThumbnailDimensions()
-