I've done some test and modulo in cocoon 2.2 project works fine. I
describe step by step:
a) Include dependency into pom file of my project:
org.apache.cocoon
cocoon-imageop-impl
1.0.0-SNAPSHOT
b) Include test map:match into sitemap.xmap:
src="themer/themes/common
Hi Miguel,
My java is not good enough debug the block imageop to see what parameters's
value arrive to class
However as
* Display image with original size and colour
* Tint image various colour
are working I assume there is access to image.
http://cocoon.zones.apache.org/cocoon22/cocoon-im
Hi Peter
It seems that there isn't access to image or similar error to read it.
I advise you debug the block imageop to see what parameters's value
arrive to class.
This block has only three bugs, and all are fixed, so I think module
must works.
https://issues.apache.org/jira/browse/COCOO
I am using the Samples block on cocoon 2.1.12
...//samples/blocks/imageop/logo2.png/resize-50-50 gives the following error:
java.awt.image.ImagingOpException: Unable to transform src image
Cocoon stacktrace[hide]
*Failed to process reader*
context://samples/blocks/imageop/sitemap.xmap - 46:53
Have you checked dependencies?
Have you tried to use block: cocoon-imageop-sample?
Can you show error message when you use transformer?
El 16/09/2014 13:14, Peter Sparkes escribió:
Hi Miguel,
I have implemented imageop, however, the only samples that work are:
* Display image with original
Hi Miguel,
I have implemented imageop, however, the only samples that work are:
* Display image with original size and colour
* Tint image various colour
I get "Unable to transform src image" for
* Image scaling
* Image resize
Any ideas how to get scaling and resizing working
Best wishes