• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

getData() vs getDataBuffer()

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
can anyone please say me the difference between
BufferedImage.getData() and WritableRaster.getDataBuffer()?
Thanks in Advance.

Thanks & Regards,
Hamsa

[ March 11, 2008: Message edited by: Hamsagayathri Palanisamy ]

[ March 11, 2008: Message edited by: Hamsagayathri Palanisamy ]
[ March 11, 2008: Message edited by: Hamsagayathri Palanisamy ]
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you've posted this to the wrong forum.
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In either case you should be aware that when you access the Raster object's DataBuffer directly, you will lose the managed image advantage, because Java 2D will be unable to update the accelerated image version stored in VRAM if it can't exclusively regulate updates to the array data.

[ March 12, 2008: Message edited by: Jelle Klap ]
[ March 12, 2008: Message edited by: Jelle Klap ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic