Yeah that's definitely been fixed in the 4.1.3-snapshots now.  It
queries the jre image service provider api for the list of supported
providers and regresses back to jpg when GIF isn't available.

4.1.3-SNAPSHOT/OGNL 2.7.1 will be getting released later this week.

On 9/10/07, Norman Franke <[EMAIL PROTECTED]> wrote:
> That's likely because you are using JDK 1.5 which doesn't support GIF
> writing. I think I read that the latest svn version has a fix for
> that (pending the release of Tapestry 4.1.3) or just upgrade your JDK.
>
> Under JDK 1.6 I have the rounded corner service working as expected.
>
> -Norman
>
> On Aug 10, 2007, at 4:34 PM, Henry Chen wrote:
>
> >
> > Just tried. Not work either. Same error in Tomcat.
> >
> > SEVERE: Image generated had zero length byte array from parameters of:
> > [color:FF9900, bgColor:white, width:60, height:60, angle:tr,
> > shadowWidth:3,
> > shadowOpacity:-1.0, side:null, wholeShadow: false, arcWidth: -1.0,
> > arcHeight:-1.0
> >  image: [EMAIL PROTECTED]: type = 1 DirectColorModel: rmask=ff0000
> > gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 66
> > height = 66
> > #Bands = 3 xOff = -54 yOff = 0 dataOffset[0] 54
> >
> >
> > Jessek wrote:
> >>
> >> Dunno.   I have it working fine everywhere I use it.
> >>
> >> You could try and set -Djava.awt.headless=true .
> >>
> >> On 8/10/07, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> >>> Ya I was unable to get it to work also.  Not that important i guess.
> >>>
> >>> On 8/10/07, Henry Chen <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>> Nobody ever used this rounded corner service? I downloaded the
> >>> timetracker
> >>>> snapshot war file and drop it in my tomcat 5.5. I didn't work
> >>>> and I get
> >>> the
> >>>> same error message below. Is it a bug? Can someone help? Thanks!
> >>>>
> >>>>
> >>>> Henry Chen wrote:
> >>>>>
> >>>>> I tried it with the latest 4.1.3 snapshot without success. Please
> >>> help.
> >>>>> Thank you.
> >>>>>
> >>>>> In tomcat 5.5, the following error was generated when I run the
> >>>>> timetracker example:
> >>>>>
> >>> (http://localhost:8080/TimeTracker/rounded?
> >>> c=FF9900&bc=white&w=60&h=60&a=tr&sw=3&o=.5):
> >>>>>
> >>>>> SEVERE: Image generated had zero length byte array from parameters
> >>> of:
> >>>>> [color:FF9900, bgColor:white, width:60, height:60, angle:tr,
> >>>>> shadowWidth:3, shadowOpacity:0.5, side:null, wholeShadow: false,
> >>> arcWidth:
> >>>>> -1.0, arcHeigh
> >>>>> t:-1.0
> >>>>>  image: [EMAIL PROTECTED]: type = 1 DirectColorModel:
> >>> rmask=ff0000
> >>>>> gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 66
> >>> height =
> >>>>> 66 #B
> >>>>> ands = 3 xOff = -54 yOff = 0 dataOffset[0] 54
> >>>>>
> >>>>
> >>>> --
> >>>> View this message in context:
> >>> http://www.nabble.com/Rounded-Corners-Service-not-working--
> >>> tf4245275.html#a12092163
> >>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>> -------------------------------------------------------------------
> >>>> --
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> ~chris
> >>>
> >>> --------------------------------------------------------------------
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
> >> --
> >> Jesse Kuhnert
> >> Tapestry/Dojo team member/developer
> >>
> >> Open source based consulting work centered around
> >> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> > --
> > View this message in context: http://www.nabble.com/Rounded-Corners-
> > Service-not-working--tf4245275.html#a12098590
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to