Picture colour = background colour

How can i change the background colour to the most frequent
colour of a picture? for example i load a picture of a red flower
(taking the size of the photo, therefore the red is the main
picture colour) through XML, and the background changes to red,
then i load a picture through xml of a blue picture and the
background changes to blue. any help?

You want to scan each picture and find the most weighted
color? wow.. good luck on that one.. it is possible but tbh. that
would be a huge amount of work.. www.quasimondo.com has a bunch of
image scanners (or however it's called) but that would be a huge
amount of work..
Don't you want to keep it simple and pass the bg color
together in the xml manually?

Similar Messages

  • I want put a picture on background of JFrame

    Hello, I�m using the JDK 5 ( with Windows), and I dev in a NetBeans.
    I would like to know?
    How Can I put the picture on background of JFrame?
    Or which component I use to show picture?

    A simple way would be to subclass a JPanel, override it's paintComponent method to display your image and set the panel as the frame's content pane. Take a look at
    JFrame#setContentPane(Component)
    JPanel#paintComponent(Graphics)
    and perhapt ImageIO.read(...) for loading the image.

  • Pictures as Background or Screensaver

    Does the iPod 30GB have the ability to set pictures as backgrounds? Or are pictures just stored for viewing?
    PC   Windows XP   N/A

    it is not possible to set a wallpaper. images are just for viewing

  • No picture colour on ipod touch

    Hi,
    I have no colour picture on my ipod touch - all i get is a negative picture image(like an old photograph negative image) any ideas how to reslove this issue?

    Try going to Settings>General>Accessibility and turn off White on Black

  • Camera - picture colours

    Since I last updated my 8100 to V4.5.0.102  the colours have been way off on the camera... whites are pink....red is almost purple...   Tried to reload the software still the same problem.
    I read on the instructions online there are options in the camera settings for colour, but when I go there there is NO options for colour under the camera settings.
    This all that is available for camera settings:
    Default Flash setting:  Auto
    White Balance:  Auto
    Picture Size:  Large
    Picture Quality : Normal
    Not sure where else to look, I hope this isn't hardware related...the camera has had little use.

    4.5.0.182 is the most recent official OS release for this device.
    Device operating system releases are "released" by specific carriers once they have certified and trained their support techs, but able to load to any carrier's same model.
    See the link below, for the download and simple installation instructions.
    Do a backup using Desktop Manager first.
    http://www.blackberryforums.com/general-8100-serie​s-discussion-pearl/217062-latest-os-8100-4-5-0-306​...
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help iphone 4 pictures colours are inverted? big problem

    Hello yesterday i took a picture on my iphone 4 in hdr, it was absolutely fine and the colours were fine, today when i turned my iphone on i looked at the picture and the colours are inverted like white on black mode is on but its not and when i turn it on it inverts the colours further, please help what is wring with my iphones pictures/camera as im going on holiday tomorrow and i am going to take lots of pictures?

    Settings > General > Accessibility > White on Black: OFF.

  • Scrambled picture in background on photo booth

    Have just installed leopard and have been trying to use the new background features in photo booth but the picture is breaking up and scrambling, i have both re started and power off'd but this has not helped. does anyone have a solution please?????

    So they are "New" in that you have just got Leopard (Not Extra ones) ?
    Ok they are somewhat Light and Colour dependant.
    For Instance.
    Lighting in front of you (Screen side) is much better than windows or lighting behind you.
    Also if any of your clothing matches the background when you are out to the screen then that will show through. ( a top the same colour as the walls or a black top where the chair in view in the background is also black - that sort of thing - include dark hair where a shadow or dark background is)
    Overhead lighting that is behind you can cause a sort of halo effect.
    Having said that you seem to be saying it is at the point of the count down to the "Flash" that things seem to go awry.
    This may be improved by increasing the lighting to reduce the effect of the Screen "Flash"
    10:06 PM Wednesday; April 23, 2008

  • Can't set a picture as background

    When I choose pictures that I've taken (the ones that come with the mac work great), i just see a blue background.

    Hello,
    Try trashing this file: com.apple.desktop.plist
    It's here: Home/Library/Preferences. Open the Preferences folder, locate that file and drag it to the Trash. Empty the Trash and reboot. Now, go to System Preferences/Desktop - ScreenSaver. Use the Sidebar on the left to select photos. It's ok to trash a preference file, your Mac will create a new one for you.
    Run Disk Utility and Repair Disk Permissions. Disk Utility is here:
    Applications/Utilities
    Make sure your images are .jpg formatted. That's what Apple uses. You can see formats and image sizes for Apple Desktop Picture here: MacintoshHD/Library/DesktopPictures.
    Carolyn

  • When will apple let us use own on pictures for background?

    I am honestly a huge Apple Ipod brand and honestly would not buy anything else. however, the new Ipod nano 6g in my opinion was a little rushed. First of all i love the picture function that the Ipod has but i would like to see one of my own picture as the background not just the 11 or so preset backgrounds which to me....are a little feminineness. So, my question was when will we be able to have our own backgrounds, or why won't apple let us have our own background?

    Let Apple know your idea.
    Contact them here:
    http://www.apple.com/feedback/ipodnano.html

  • Setting an iPhoto picture as background

    Hi.. sometimes when I set a picture from my iPhoto, the picture appears on my desktop as somewhat "pixelie" as the background. Is there a way to make the picture clearer as a background? Thanks!

    I am not sure where to find the resolution of the photo...
    You can find the pixel dimensions and the file size in the Info Pane lower left - click on the wee ‘i’
    is there a way to increase the resolution of a photo?
    Not without making the picture worse.
    Regards
    TD

  • How to add a picture in Background of Sing in and Sign out Screen

    Hi MOSC,
    How do i add a picture in the background of Sing in and sign out screen in HCM People Soft 9.2 and People Tools 8.53.
    Also, how do i get rid of the Language are from the sign on page.
    thanks,
    Response will be greatly appreciated!
    User 501241

    Ha, I lost the reply I had typed up and I see Jim replied while I was writing it.
    In addition to his comments about changing the file.  It's actually signin not signon.html. Jim has the right path though. signon.html is the file that redirects the client to URL=../psp/ps/?cmd=login command which displays signin.html.  It's at /home/psadm2/psft/pt/8.53/webserv/peoplesoft/applications/peoplesoft/PORTAL.war/ps/signon.html. 
    I also gave two blog posts on the topic.
    Creating a Custom PeopleSoft Sign On Page - Remote PSAdmin and Hide the ‘Windows 7 is not supported’ message | The PeopleSoft Tipster Blog
    The first tells you how to add the background in the comments.  The latter discusses customizing the file for other reasons and gives some additional info.
    Oh, I also mentioned that the languages are all in a td tag with the class name of pslanguageframe.  Which may help you find it, because if I remember the language codes use JSP variables.  Just edit the table structure as you like and aligning it to your liking.

  • How can i set  picture as background using JPanel

    hello can you kindly tell me how i can set picture as the background of my jpanel instead of using set
    setBackground(Color.bule)

    you can use a JLayeredPane ; put a JPanel containing a JLabel based on an ImageIcon on the lowest layer of your JLayeredPane
    then, use upper layers to add components
    edit: another possibility is to override the "paint()" method of your JPanel container, and use drawImage() to paint the picture as a background

  • Use pictures as background, how do i set it to follow resulotion?Ifyou

    If you take a look at this site: http://dejansokolovski.com/
    You see that the pictures are the background, and if you change the size of your web browser window the picture follows. How do i do that?

    Yeah your example uses Flash, but you can acheive something similar with CSS. Check out this tutorial here:
    http://css-tricks.com/how-to-resizeable-background-image/

  • Cannot crop pictures for background

    I cannot crop any pictures for my background or desktop on my ipads.  I have an orginal, the new ipad and the ipad air.  When I pinch the picture to make it fit it always pop's back to the orginal size.  I have done this before, but for some reason I can seem to do it now.  What am I doing wrong.

    Have you got, or could create, a higher resolution version of the image that you could try instead ? With iOS 7.0.3, from http://support.apple.com/kb/HT5595 :
    You can reduce screen motion in iOS 7. iOS 7 uses a parallax effect to create the perception of depth on your Home screen and elsewhere.
    To reduce the effect, you can turn on Reduce Motion in Settings > General > Accessibility. When you turn on Reduce Motion, Home screen transitions will fade instead of zoom.
    When the parallax effect is on, you may notice the following:
    Wallpaper, icons, and alerts shift slightly as you move your phone.
    When you set a wallpaper in Settings > Wallpapers & Brightness, the photo or image will be slightly zoomed and can't be scaled to fit the screen.
    If you zoom in, you will need to rescale your wallpaper to fit to the screen. You can't rescale certain photo formats, including landscape or square images.

  • Picture as background when keying

    I have done my first successful keying of a DV footage in Shake using the Primatte plugin. I have inserted a picture as a background, but Shake only shows a small part of the picture at a time. The picture also acts as a video (the picture is moving around in the background) when playing back the rendered file.
    What can I do to see the whole picture and make it stand still too? Do I have to resize to the same size as the videofile? If so, what is the size of my captured videoclip?

    Wow -- lots o' questions here...
    What's the size of the picture you are using? Shake defaults it to it's native size. Is this a jpeg or something? You could use a Scale node to rescale up the background pic.
    What's the size of your video?? Not sure... is it DV PAL? 720 by 576 if it's PAL... check in QT to see the exact size.
    Good luck,
    CaptM

Maybe you are looking for

  • Using a Collection in an 'IN' Clause

    Hi, I would like to create either a nested table or index-by table to aggregate a set of record ids (eg. social security numbers). Then I would like to use the nested table in an IN clause. Example: TYPE SSN_TABLE IS TABLE OF EMP.SSN%TYPE; v_SSNs SSN

  • Partitioned IOT of Object Type - mapping table not allowed for bitmap index

    Hi, looks like a feature available for standard Partitioned IOTs is not supported for object based tables, namely the MAPPING TABLE construct to support secondary local bitmap indexes. Can you confirm behaviour is as expected/documented? If so, is a

  • SimCity 4 runing on Wine with grafic problem

    I have installed SimCity 4 with wine in Mountain Lion. The game is running pretty fast but it´s have a big graphic problem as displayed on the picture. Anyone have a solution for that? I wont play the mac version because even in a strong mac it's run

  • Sent box mixed up - messages from a year ago 'sent' yesterday

    My sent box seems corrupted - I have had this before on another mac. My sent box has messages from last year dated as being sent yesterday. I have tried 'rebuild' but nothing seems to happen. I am not aware of any viruses, all the messages appear to

  • IPad loses exchange password often.

    Several of our iPads lose their exchange passwords. It will contiually promt for you to reenter the password many times.  Even if you put in the correct password, it will kepp prompting.  Very annoying and now someone overseas can't get their email w