Hi Stefan,

   I've fixed the problem and committed the change.  It was caused by:
g.setComposite(AlphaComposite.Src) in GraphicImage.  This changed the
current Graphics Context compositing operation and it apparently
caused problems later with some other renderer, probably a recent
change.  I put in some code to save and restore the compositing mode.

regards,
Larry

On 8/15/07, Stefan Steiniger <[EMAIL PROTECTED]> wrote:
> hei Larry & Michael,
>
> i could identify the change that caused the problem:
>
>            AbstractSelectionRenderer.java, java2D/Java2DConverter.java,
>            java2D/PolygonShape.java, style/WKTFillPattern.java:
>
> i.e. the improvements from SkyJUMP on point coordinates decimation,
> selection renderer..
>
> now we need to fix it (without loosing the improvements?)
> tonight i would like to replace the old buggy files to have an OJ
> nightly built tomorrow that displays images.
>
> stefan
>
> Larry Becker schrieb:
> > Ok, I've stepped the Image Layer code in the debugger up though the
> > final g.drawImage() method in GraphicImage.paint() and all seemed to
> > be well.  Of course, I can't really tell if the jpeg got converted to
> > an image correctly using the debugger, but I suspect it has.
> >
> > It would appear that the black area fills the window area and not
> > simply the image polygon so it definitely looks like some kind of
> > graphics interaction.  I stepped though the whole repaint pipeline for
> > the image layer and I didn't execute any code that had been changed in
> > the last several months.
> >
> > Will try more tomorrow.
> >
> > regards,
> > Larry
> >
> > On 8/14/07, Stefan Steiniger <[EMAIL PROTECTED]> wrote:
> >> ok.. i just recognized that also my last cvs version contains the error:
> >> i.e. it must have been happend between 1.2B release and the change to
> >> the cvs. since my last update is from 2. June it must have been between:
> >> 24. April and 2/3.June ?
> >>
> >> probably...
> >>
> >> Stefan Steiniger schrieb:
> >>> Hei Uwe,
> >>>
> >>> you are right.. i deeply appologize for not testing earlier!!
> >>>
> >>> i only see black screens as well  - and it does not matter if i zoom
> >>> .. i actually can't say now what we changed..
> >>> maybe it is the rendering thing???
> >>>
> >>> has anybody any f* idea why the screen appears black now? and 1.2 B also
> >>> works on my computer.. so it can be only a matter of source code change
> >>> in the last 4 months *yippy*. it should not be related to library change.
> >>>
> >>> the stupid thing is that i need to disable 1.2 C
> >>>
> >>>
> >>> stefan
> >>>
> >>> Uwe Dalluege schrieb:
> >>>> Hi,
> >>>>
> >>>> with OpenJUMPNight 1.2B from 2007.05.10  Layer>Add Image Layer works!
> >>>> With the latest OpenJUMPNight version 1.2C it does not work!
> >>>>
> >>>> Where is the different?
> >>>>
> >>>> Regards,
> >>>>
> >>>> Uwe
> >>>>
> >>>> Uwe Dalluege schrieb:
> >>>>> Hi David,
> >>>>>
> >>>>> in the OpenJUMPNight lib directory I found jai_codec.jar and
> >>>>> jai_core.jar.
> >>>>> I hope this is enough but it does not work with it!
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> Uwe Dalluege
> >>>>>
> >>>>> --------------------------------------------------------------------------
> >>>>>
> >>>>> HafenCity Universitaet Hamburg
> >>>>> Department Geomatik
> >>>>> Rechenzentrum
> >>>>> Dipl.-Ing. Uwe Dalluege   :-)
> >>>>> Hebebrandstr. 1
> >>>>> 22297 Hamburg
> >>>>> Tel.: +49 40 42827 - 5335 oder 5353 oder 5313
> >>>>> Fax:  +49 40 42827 - 5409
> >>>>> E-Mail: mailto:[EMAIL PROTECTED]
> >>>>> Url: http://www.hcu-hamburg.de/geomatik/
> >>>>> --------------------------------------------------------------------------
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> David Zwiers schrieb:
> >>>>>> Are the drivers installed? If I recall you need JAI for those formats.
> >>>>>>
> >>>>>>   David Zwiers
> >>>>>>   Vivid Solutions Inc.
> >>>>>> -----Original Message-----
> >>>>>> From: [EMAIL PROTECTED]
> >>>>>> [mailto:[EMAIL PROTECTED] On Behalf Of Uwe
> >>>>>> Dalluege
> >>>>>> Sent: August 13, 2007 4:29 AM
> >>>>>> To: Devel Jump
> >>>>>> Subject: [JPP-Devel] OJ 1.2C: Add Image Layer
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> I try to load images ( .jpg, .tng, .tif, .gif ) with Layer>Add Image
> >>>>>> Layer.
> >>>>>> Sometimes I see nothing, sometimes I see a black window!
> >>>>>>
> >>>>>> I there a trick to load an image?
> >>>>>>
> >>>>>> Regards,
> >>>>>>
> >>>>>> Uwe
> >>>>>>
> >>>>>>
> >>>>>> ------------------------------------------------------------------------
> >>>>>> -
> >>>>>> This SF.net email is sponsored by: Splunk Inc.
> >>>>>> Still grepping through log files to find problems?  Stop.
> >>>>>> Now Search log events and configuration files using AJAX and a browser.
> >>>>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >>>>>> _______________________________________________
> >>>>>> Jump-pilot-devel mailing list
> >>>>>> Jump-pilot-devel@lists.sourceforge.net
> >>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>>>>
> >>>>>>
> >>>>>>
> >>>
> >>> -------------------------------------------------------------------------
> >>> This SF.net email is sponsored by: Splunk Inc.
> >>> Still grepping through log files to find problems?  Stop.
> >>> Now Search log events and configuration files using AJAX and a browser.
> >>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >>> _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> Jump-pilot-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>
> >>>
> >> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems?  Stop.
> >> Now Search log events and configuration files using AJAX and a browser.
> >> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >> _______________________________________________
> >> Jump-pilot-devel mailing list
> >> Jump-pilot-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


-- 
http://amusingprogrammer.blogspot.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to