Thomas Markus <[EMAIL PROTECTED]> writes: >> >> Im currently thinking of adding some hack in the imageop resize >> operator, something like a counter mutex that halts processing of the >> raster until the counter is low. (I dont quite remember how to do >> stuff like that in Java so I would have to look it up) >> > hi, use java.util.concurrent.Semaphore
Thanks! I added a little hack with a semaphore in the imageop reader and things work somewhat better, but not perfect. Resizing seems unexpectedly fragile. I upgraded to jdk6 but got SIGSEGV:s! -Djava.awt.headless=true seems to help. jdk5 is veery slow in rescaling. incidentally i also added possibility to flag the rescaler with bilinear or nearest neighbour algorithms. In the end maybe something reusable will come out of this. > > cu > tm > > -- > Thomas Markus > > Tel: +49 30 29 36 399 - 22 > Fax: +49 30 29 36 399 - 50 > Mail: [EMAIL PROTECTED] > Web: http://www.proventis.netWeb: http://www.blue-ant.de > > proventis GmbH > Zimmerstraße 79-80 > 10117 Berlin > > Geschäftsführer: Norman Frischmuth > Sitz: Berlin > Handelsregister: AG Berlin-Charlottenburg, HR 82917 > > We support your project business! > > > -- > Thomas Markus <[EMAIL PROTECTED]> Work: +49 30 29 36 399 22 > proventis GmbH > Zimmerstr. 79-80 > Berlin, Berlin 10117 Germany > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Joakim Verona --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]