Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java Micro Edition
Search Coderanch
Advance search
Google search
Register / Login
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
Forum:
Java Micro Edition
J2me getRGB
jun estropigan
Greenhorn
Posts: 7
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi all!! is it possible to blur image in realtime!! and do you have code exaple of getRBG and getpixel?? thanks
Gopinath Karyadath
Ranch Hand
Posts: 87
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
try this
public static int getPixel(Image image, int x, int y) { int[] rgb = new int[image.getWidth() * image.getHeight()]; image.getRGB(rgb, 0, image.getWidth(), 0, 0, image.getWidth(), image.getHeight()); int pos = x + (y * image.getWidth()); return rgb[pos] << 16 | rgb[pos] << 8 | rgb[pos]; } public static int getRGBPixel(Image image, int ps) { int[] rgb = new int[image.getWidth() * image.getHeight()]; image.getRGB(rgb, 0, image.getWidth(), 0, 0, image.getWidth(), image.getHeight()); return rgb[ps]; }
jun estropigan
Greenhorn
Posts: 7
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
THAnks!! I try this and I still have a question ?? is it possible to blur image in real time in mobile phones??
Gopinath Karyadath
Ranch Hand
Posts: 87
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
You can process your image in your own way. Try with your own logic.
all d best
regards
jun estropigan
Greenhorn
Posts: 7
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ok thanks !! then it its possible !!! thank you
Gopinath Karyadath
Ranch Hand
Posts: 87
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
visit
http://j2me-codesamples.blogspot.com/?zx=682e9a42b0cdb06c
jun estropigan
Greenhorn
Posts: 7
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
do you have any code for image blurring in j2me ???
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
getRGB method
populating info into a new database ?
Real Time Streaming Protocol with j2me !!!
friends, help me out by giving solution
image processing with jpeg in j2me
More...