This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Mocky Johnson

Greenhorn
+ Follow
since Aug 05, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mocky Johnson

i am also doing something like accessing the image files in the phone/card memory... if u wanna more about it
go to jcp.org and download the api for JSR 75
16 years ago
ok sir is there any websites or sources where i can read about the png image specs ?
16 years ago
sorry sir, can u please explain to me what is header bytes and row bytes ? sorry i am new to all this programming. When i stream it out it, the image has been written but the problem is the image editors can't read it... i am really lost... the file size becomes 127kb from 0kb and view the file's properties i see that the image has been just wrote to as the date and time are of that date and time.
16 years ago
hi there,

**Please note i am testing out the application using WTK 2.2 as i do not have a phone to test on.


i am a student doing a project for my final yr. The application requires me to edit an image and save it in another file name, for example: newimage.png. I used the fileconnection from jsr75 and upon editing the image i dataoutputstream it to the file(newImage.png)... after the bytes are streamed to the file, i try to open it using my image editors in my computer but the file cannot be read... when i open the image file, using photoeditor or paint i get the error "cannot determine type". What can i do to view the image.

I am really in need of help... i am stuck can anyone suggest me ideas ? Thanks. Your help will be very much apprieciated. Thank you very much.

Your Sincerely
Mocky
16 years ago
Hi, Anybody out there pls help me. I've got a problem with getRGB method. How to i set the image i have selected to be stored in the int[] rgbData. Is there any way. Thanks. Your help will be very much appriecated.
16 years ago
Thank you very much. Your help has been very well appreciated.
16 years ago
yes sir, u got it correct. I have get image1 with is overlapped over image2 as one image. and the method my teacher suggested was to draw the two images on top of each other but off screen than put it inside an int array than put it into an byte array so that i can be save.

I have done the off-screen drawing of the images but i do not know how to put it into array and change it to huge bytes.

Please try to help me sir thank you very much your help will be very much appreciated.
16 years ago
Hi, I am doing a school project and i need to save two images as one image which have been drawn on top of each other. According to my teacher, he told us to first draw the image off-screen than firsly draw both images on an off-screen imagecreate an integer array in the site of width x height of that off-screen image, and use Image.getRGB() to fill it with all pixels values.Convert this int array to larger byte array and store it in the rms. I have problems starting off and drawing the image off-screen. Can someone pls help me. Thank you very much. Your help will be very much appriecated.

Thanks again
16 years ago