<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>953</bug_id>
          
          <creation_ts>2014-01-29 15:23:47 +0100</creation_ts>
          <short_desc>Allow the creation of a BufferedImage from a TextureData</short_desc>
          <delta_ts>2023-07-12 01:55:55 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>awt</component>
          <version>3.0.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Julien Gouesse">gouessej</reporter>
          <assigned_to name="Julien Gouesse">gouessej</assigned_to>
          <cc>gouessej</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>ec2d94ca26ddab8ec67135ebc5f2d0a43f6a4c25</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3666</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2014-01-29 15:23:47 +0100</bug_when>
    <thetext>It&apos;s currently possible to wrap a BufferedImage into an AWTTextureData but creating a BufferedImage from a TextureData isn&apos;t possible yet.

This feature would be useful in frameworks based on JOGL (especially Ardor3D) which use TextureIO to create their &quot;own&quot; images and which need to allow the developers to convert their images into AWT images to display them in a Swing/AWT/Netbeans Platform GUI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4017</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-10 14:11:58 +0200</bug_when>
    <thetext>This can be already achieved via AWTGLReadBufferUtil,
see commit http://jogamp.org/git/?p=jogl.git;a=commit;h=ec2d94ca26ddab8ec67135ebc5f2d0a43f6a4c25

See: TestBug461FBOSupersamplingSwingAWT, TestBug605FlippedImageAWT

http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/caps/TestBug605FlippedImageAWT.java;h=c1b29b371e9599dda0fca619c8c2c41f96671b10;hb=ec2d94ca26ddab8ec67135ebc5f2d0a43f6a4c25#l91</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4018</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-10 14:14:00 +0200</bug_when>
    <thetext>Re-opened - I see, yes, we need to utilize code of AWTGLReadBufferUtil
to produce an BufferedImage for pre-existing TextureData.

Sorry for my confusion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6144</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-03-30 02:05:45 +0100</bug_when>
    <thetext>Julien, I push your task to version 2.5.0.
We may need to discuss this a bit further?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6175</commentid>
    <comment_count>4</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2019-03-30 09:01:33 +0100</bug_when>
    <thetext>(In reply to Sven Gothel from comment #3)
&gt; Julien, I push your task to version 2.5.0.
&gt; We may need to discuss this a bit further?

It&apos;s ok for me. Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>