How to Delete Back groundof an image??

hi..
I have an image with black letters written over yellow back ground.Plz tell me how to Extract the black letters and remove the yellow back ground using J2me.
Regards
Gopal

Hi
conver the image to a mutable image object ( I hope u are using MIDP 2.0). Get the pixels from the image object. Extract the RGB values from the int array that u get after getRGB() . Check the R, G, B values of the pixels .. if they pixel is black then the R, G and B values must be closer to 0. Set a limit , dont touch the values close to 0 but for values that are higher than the black limit set R , G, and B component to 255. Then create an Image Object using this new int array.
Now the image will have a white back ground and Black letters remain intact.
U can set the Alfa value , i.e. the first 8 bits in the integer array of pixel values to 0 .. this would make the image transparent.
Dont know if this helps you .. but in case u want to do something like this ... have a look at
Image.createImage()
Image.getRGB()
methods in the API ( MIDP 2.0 offcourse)
regards
r@i

Similar Messages

  • How to delete Back up in Hp Recovery Disk

    Hi,
    I have made a format to my laptop to install windows 7 on it. Widows 7 works spectacularly with my laprop but it keeps asiking me to make a back uop to my files. The problem is the HP recovery hard dsk is almost full and  when I open it I cannot see any folder. My quest is how to delete back up from my hard disk and makes it empty.
    Thank you

    Hi,
    You should be able to find the solutions in the links below:
    How to Turn the Windows 7 Backup Files Schedule On or Off 
    How to enable and disable to backup data files in Windows 7
    How to Delete Windows 7 User Data and System Image Backup Files
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • How to delete back up data in icloud?

    How to delete back up data in iCloud?

    From previous posts:
    If you mean backed up in your iCloud backup, you can delete the backup by turning off iCloud Backup in Settings > iCloud > Storage & Backup, then tap Manage Storage, touch your backup and tap Delete Backup, then go back and turn iCloud Backup back on again.
    If you mean data synced to your iCloud account like contacts and calendars, you can either delete if from your device or go to icloud.com on your computer and delete it there.

  • How to delete myself built disk image

    How to delete self built disk image?

    If the image is open (you'll either see the image's disk icon on the desktop or in the left pane of the Finder window) close it. Then put the image in the trash and empty. If you don't close the image it can't be trashed.

  • How to delete those annoying jpeg images?

      Today I decided to import every photo from my iPhone into my MacBook Pro. After some hard work, it comes the problem. There are some jpeg images in my iPhoto. I searched for those images on my phone but I could find nothing. Therefore I want to ask how to delete these unknown files?

    More of an iPhone question so I'd ask on that forum. I beleive you may be able to remove images from a phone with Image Capture (in the Applications Folder)

  • How to delete back up from MacBook Pro?

    I recently gave my old MacBook Pro to my daughter. To make sure all the APPs etc stayed on it I simply created her a user account  with admin rights and deleted my user account. The problem is now half of the hard drive seems to be full of back ups which I am assuming are from my old account. I had always backed up to an external hard drive via Time Capsule.
    How can I delete these from the old computer to free up space for her ?

    Those are 'local snapshots'... they will 'self-delete' after one week, so there's nothing to worry about. When you delete data, the snapshots of that data remain for one week and then they're gone (along with the data that you trashed).
    It's just a TM 'safety net'!
    Clinton

  • How best to back up Rejected images

    Hi,
    I am about to back up using a Vault but I have a lot of rejected images that are taking up disk space. What are others doing with their rejected images, do you delete them after vaulting?
    Thanks--Ed

    It may depend on what kind of rating you use. Some may reject images that are not good but may come to use some time in the future, while others rate images in a different way. As i can only speak for myself, I use a system where rejected images are those that are totally useless and therefore I see no reason to keep them just to occupy valuable hd space.
    I have set up a smart album that shows only rejected images and I empty this album on a weekly basis, keeping the library nice and clean.
    I also only have referenced images so I do not use the Vault for backing them up.
    Regards
    Paul K

  • How to delete backed up files from Time Capsule in Lion.

    Since I upgraded to Lion I have been unable to delete old backed up items in Time Machine. I use Time Capsule and previously with Snow Leopard I could right click on a file and choose to delete all copies of the file. The option to do that is no longer available. Is there a setting I'm missing here? Thanks.

    You cannot delete items from Local backups (the white "tick marks").  See #30 in Time Machine - Frequently Asked Questions.

  • How to delete references to "Offline images"

    Howdy,
    I have about 200 "Offline" images in my library that have no association with an image in my managed library. Every time I open a project with one of these images in it, AP tries to build a thumbnail of a non-existant image and hangs up.
    How do I get rid of these references to "Offline Images" .
    When I try to reconnect to these images Aperture needs to be forced quit.
    I think I must get rid of the references in my library to these missing "OffLine images".
    Dick B

    Sounds like you have more than one issue - a referenced image simply being offline does not cause this behavior. You may want to try rebuilding your library? I have not had this happen to me ever (nor seen it in any of my many Aperture using associate's libraries)
    RB

  • How to delete lock screen photo image from camera while retaining the default images?

    Hi,
    I've recently took a picture using my camera and set it as a lock screen photo. However, I can't delete the custom lock screen photo after deleting my camera picture on my laptop. I would not know what will happen if I were to reset my entire system as I
    have two separate accounts; one of the accounts is not a Microsoft account. If i were to reset my computer system, some of the applications might not be there as the laptop had a custom setting when I bought it.
    How do I delete the cached photo in my computer?(The one without a Microsoft account)

    Hi,
    Do we have any backup available?
    If yes, we may consider to use system restore point to return to a state that could be able to change/delete the lock screen picture.
    Best regards
    Michael Shao
    TechNet Community Support

  • How to delete the back up photos in my album?

    How to delete back up photos?

    It's not if its small or big. My point is in icloud it says 5 mb, is MY storage.. so i it's my right to know where that storage is.
    So yes, what tooks the 5MB email in place? i can't even see it.

  • My mac space was full, and i noticed that i had 10,000 images, so i deleted all of my images and emptied the trash, now i they don't appear on iphoto or anywhere, is there anyway i could get all of those images back so i can then store them in a device?

    my mac space was full, and i noticed that i had 10,000 images, so i deleted all of my images and emptied the trash, now i they don't appear on iphoto or anywhere, is there anyway i could get all of those images back so i can then store them in a device?

    yes, its the macbook air and mac OS X 10.7.4, not sure how that goes, about the time machine and time capsule, i only started using it today, when they were already deleted, also read at the support and help of iphoto, that if you delete your images from the picture folder that the images will be corrupted permanently, does this mean there there is no actual way of getting them back?
    Thanks for the help x

  • How to get back default Lock Screen Image of Windows 8.1

    I recently upgraded windows 8 to Windows 8.1, but it reset my custom lock screen image .  I tried for default lock screen of windows 8.1.I can't find any default lock screen
    images of windows 8.1 (Only custom images are available). How to get default lock screen images? Does any any one know? please help me..

    The last "solution" works only for pressing Ctrl+Alt+Delete and clicking
    Lock. If you sign out of Windows and sign back in, that ghastly Windows 8.1 lock screen picture will come back.
    You can delete the img100.png file from your WinSxS folder: right lick on this file, click Properties, click the Security tab, click Edit, click Add, type your Windows user name in the white rectangle under "Enter the object
    name to select", click Check Names, click OK, then click Advanced, click Change, take ownership of the file, give yourself Full control over this file, click Apply and then OK. You may see your name three times in the Security tab (as user, administrator,
    and yourself). Make sure that each instance has full Control
    If this does not work, you can disable the Lock Screen: press Windows+R, type
    gpedit.msc, click OK, in the Local Group Policy Editor window that opens click on Computer Configuration > Administrative Templates > Control Panel > Personalization, right click on the "Do not display the lock screen" option, click
    Edit, check Enabled, then click Apply and OK.
    This, however, is a workaround rather than a real solution, which, it seems, Microsoft does not have.
    I have exactly the same issue with the horrid stripey thing. Furthermore, in Settings, Lock Screen Preview is completely blank both on current and past images.
    I've tried all the tips I've found around the web with no success. I get the horrid stripey thing back.
    I found this freeware called Lock Screen Customizer. Seems to work so far but time will tell. (Note that the download includes both win8 and win8.1 versions.)

  • How do I delete an idvd project from my hard drive?  If I do so, will it delete the raw videos/images from iphoto or imovie?  Thank you

    I understand that an imovie or idvd project will take up quite a bit of space on my hard drive, so after I create the movies on either program I want to delete them.  I can't figure out how to delete them on idvd.  Should I go to finder?  I'm so confused!

    iDVD only uses pointers to the media, photos and QT files, that it uses in its projects.  So if you delete a movie that you used in it that movie will be lost to iDVD.
    However you can use the File ➙ Archive Project... menu option and that will copy the media into the iDVD project package. Then if you delete the movie file the archived project will still have its copy of the movie to use.
    You won't be able to go back and make any changes to the movie if you do this.  So wait until the project is complete and burned to disk before archiving and deleting the movie files.
    Personally I would get an external HD and save those movies and other files that you might want to delete from your boot drive because you never know when you might want to go back and make changes.  Once they are deleted you can't go back.
    Happy Holidays

  • Hi i have a question, I'm trying to back up  my iPhone to iTunes but it says restore from backup or setup up as new device. if i setup as new device will everything be deleted? if yes then how would i back it up without anything being deleted

    Hi i have a question, I'm trying to back up  my iPhone to iTunes but it says restore from backup or setup up as new device. if i setup as new device will everything be deleted? if yes then how would i back it up without anything being deleted

    Following is a link to instructions on how to backup (either via iTunes and via iCloud) http://support.apple.com/kb/HT1766

Maybe you are looking for

  • ERROR message (iDVD) 'no video tracks selected'  where is 'SHARED'

    (I think everyone's asleep on the iDVD boards, so I've taken the liberties of posting here also, sorry.... ssshhhhhhh....) My first time using iDVD (it's 5.0) -- Exported sequence from fcp as QT..... Dropped into into 'drop zone' hit 'burn', and get

  • How to set message to "important" in ff10

    How do I set message to "important" in ff10 ? I can't find a "help" button to solve this.

  • Customer Creating FD01

    Hi, Do you know if there's an IDOC for transaction FD01?  I'm writing an XI interface where I read from an external database using JDBC and then I create an IDOC to generate the customer. I'm using DEBMAS06, but I cannot post the idocs because it com

  • Document Owner as Ad hoc Agent

    Hi there, I have a problem with the process controlled workflow within SRM 7. The Situation is: When a purchaser creates a shopping cart it triggers the automatic approvel workflow. Means the shopping cart autimaticaly is approved by the system after

  • Mail 4.4 crashed with OSX 10.6.6 and exchange 2007

    Hello *mail 4.4 crashed when I start it* *I use exchange 2007 ans OSX10.6.6* *Thanks you for your help* +Process: Mail [749]+ +Path: /Applications/Mail.app/Contents/MacOS/Mail+ +Identifier: com.apple.mail+ +Version: 4.4 (1082)+ +Build Info: Mail-1082