Hi all,
I would like to combine several shared image resources into a new dynamic image
resource. The image itself should not be displayed on a Wicket page but its URL
is needed as input to a JS script.
Is there a quick way to read the shared image resources (other then via
RequestCycle.get().urlFor(new SharedResourceReference("images"),
params).toString() and using the URL for ImageIO.read(url)?
How can I get the URL of the newly created image resource? As the URL should be
unique for each session/user I think that I cannot mount it.
br Chris
> Am 16.05.2015 um 15:25 schrieb Chris <[email protected]>:
>
> Hi all,
>
> how is it possible to assign a shared image resource to a bufferedImage?
>
> The shared resource reference is „image“ which is a file folder serving
> different images, which are specified via page parameters.
> final PageParameters params = new PageParameters();
> params.set("fileName", "image.jpg“);
> BufferedImage bi = …
>
> Thanks, Chris
>
>
>