Creates and caches image in local cache directory
Creates and caches image in local cache directory
The path to where the images are stored
The filePath relative to the path variable (the same as the play Assets Controller)
The width of the frame that we want the image to fit within
The height of the frame that we want the image to fit within
Any of the Scale modes such as AUTOMATIC, FIT_TO_WIDTH, FIT_TO_HEIGHT
Any of the Scalr Methods, The standard is the highest possible
a File if everything when well
The unique play-res file identifier
The play-res source name
The width of the frame that we want the image to fit within
The height of the frame that we want the image to fit within
Any of the Scale modes such as AUTOMATIC, FIT_TO_WIDTH, FIT_TO_HEIGHT
Any of the Scalr Methods, The standard is the highest possible
a File if everything when well
Resizes an image and stores it in a temp file that we then can move into a cache
Resizes an image and stores it in a temp file that we then can move into a cache
The file to resize
The width of the frame that we want the image to fit within
The height of the frame that we want the image to fit within
Any of the Scale modes such as AUTOMATIC, FIT_TO_WIDTH, FIT_TO_HEIGHT
Any of the Scalr Methods, The standard is the highest possible
A resized file
Resizes an image and returns a stream that we can pipe directly to the browser
Resizes an image and returns a stream that we can pipe directly to the browser
The file to resize
The width of the frame that we want the image to fit within
The height of the frame that we want the image to fit within
Any of the Scale modes such as AUTOMATIC, FIT_TO_WIDTH, FIT_TO_HEIGHT
Any of the Scalr Methods, The standard is the highest possible
A stream that we can pipe directly to the browser