How to compare any type of image with any Palette ?

How can I compare any image with any Palette file (ex. sample.pal file) ?
If that image don't satisified selected Palette file then show me exception or any kind of message.
Plz reply me with proper guidence or any hints.
Thanks
Harshal

How can I compare any image with any Palette file (ex. sample.pal file) ?
If that image don't satisified selected Palette file then show me exception or any kind of message.
Plz reply me with proper guidence or any hints.
Thanks
Harshal

Similar Messages

  • How do I achieve browser width images with scroll motion set to 0?

    How do I achieve browser width images with scroll motion set to 0?
    An example can be seen here with the green image: http://www.qooqee.com/templates/aroma
    I can get the rectangle to stretch the width of the browser but not the image fill. (see - http://www.tomwellsassociates.com)
    My Muse fill settings:
    Fill type: Solid
    Colour: None
    Fitting: Tile vertically
    Position: Bottom Centre
    Scroll motion: On (Up - 0)
    Image Size:
    3311 x 3311 px
    Display: Apple imac 27"
    Any suggestions/help would be much appreicated...

    Please check out: http://forums.adobe.com/message/5701908
    Cheers,
    Vikas

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • Hey! My flash player keeps crashing whenever I open any kind of website with any flash contend.

    Hey! My flash player keeps crashing whenever I open any kind of website with any flash contend. Videos won't load, moving advertisements, all that stuff. Its also not just Firefox, videos don't work in IE or Chrome. I'm completely updated on all the plugins as well. Thanks for any help you may have!

    IE uses a different version of Flash (ActiveX version) than Firefox and Chrome use (the Plugin version). You might want to try the Adobe Flash forums for help with those Flash problems. <br />
    http://forums.adobe.com/index.jspa

  • How to compare table's date field with dropdown year field

    Hi All,
    I have one requirement to display the selected rows from a database table based on the selection of drop down.
    Here, I have one dropdown of year(like 2009,2010,....) and I have one database table which contains one field with "DATE".
    Now, I want to compare table's DATE field with my dropdown field.
    Problem is that table's DATE field is of type "DATS" and dropdown is of type INTEGER(or) STRING ...
    How to compare this fields?
    Can any one please give me solution for this...!
    Thanks in Advance!

    Hi  sreelakshmi.B,
    try the following:
    DATA lt_dats        TYPE TABLE OF dats.
    DATA l_dat_i        TYPE          i.
    DATA l_dat_c_4(4)   TYPE          c.
    DATA l_dat_c_12(12) TYPE          c.
    DATA l_dats_from    TYPE          dats.
    DATA l_dats_to      TYPE          dats.
    *Move Date from Integer to Char
    l_dat_c_4 = l_dat_i = 2005.
    *Create Date From use in WHERE-Clause
    CONCATENATE '01.01.' l_dat_c_4 INTO l_dat_c_12.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
         EXPORTING
              date_external            = l_dat_c_12
         IMPORTING
              date_internal            = l_dats_from
         EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *Create Date To use in WHERE-Clause
    CONCATENATE '31.12.' l_dat_c_4 INTO l_dat_c_12.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
         EXPORTING
              date_external            = l_dat_c_12
         IMPORTING
              date_internal            = l_dats_to
         EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
    IF sy-subrc <> 0.
    ENDIF.
    * Select records in range
    SELECT *
           FROM [DBTAB]
           INTO TABLE [ITAB]
           WHERE [DATE] BETWEEN l_dats_from
                        AND     l_dats_to.
    Regards
    REA

  • How do i use my own image with keying (or green screen)

    how do i use my own image witrh keying (or green screen)

    Put your sky clip on a layer below the clip you want to key. One or the other will be a connected clip. Apply  the Keying filter to foreground clip (the one with the green screen). The green will be seen as transparent and the sky will show through as the BG. Adjust as necessary in the Inspector.
    Good luck.
    Russ

  • How do you select a single image with the keyboard?

    I can use the "/" key to deselecting the current photo but how do I select the current photo with the keyboard? Usually the space bar is used for this but that displays the image. Is the only way to select the current photo by using the mouse?

    OK, now that the question has been clarified....
    Pressing and holding the Shift key as you move through the grid with the arrow keys will individually multi-select them, but that breaks down if you want non-contiguous selections, i.e. lifting off the shift key to skip a photo will cause all previous selections to be lost when you use the arrow key to advance. I think the only way for non-contiguous selection is ctrl-click.

  • How to send byte array of image with 300dpi.

    Hello fiends
                       i am making an application in which i have to send the byte array of an image with 300dpi.
    so i am using image snapshot class for that and use that code.
                        var snapshot:ImageSnapshot = ImageSnapshot.captureImage(cnvParent,300);
                        var bdata:String = ImageSnapshot.encodeImageAsBase64(snapshot);
    but when i send that bdata to php end using httpService.The size at other end of image increases surprisingly.i means it will increase its actual height and actual width.so is there any way to overcome this increase in size when i bitmapped image at 300 dpi?
    if there any way then please tell me.waiting for your reply.
    Thanks and Regards
        Vineet Osho

    Thanks david for such a quick reply.the link is really helpful.So we have to calculate the screendpi thruogh our code and then set the height and width of image.is there any simple way to sort out my problem.i just want to print my image at 300dpi but i am using image snapshot class so its taking the snap of my container(image) and save the image at 96 dpi which is dpi of my screen(monitor).so is there any way or any class in flex through which i got the image at its original dpi.i am not stick on 300 dpi but i m getting image from backend through xml at 300dpi.thats why i want the byte array i am sending should be at 300dpi.i am totally confused now.so please help me.
    Thanks and regards
      Vineet osho

  • How to update front panel immediatel​y with any control change in LabVIEW7.0​?

    I have a lot of controls on the front panel. I want my 3D plot to be updated with any of them changed. Currently only one control's change can result in the update even if I do have done changes on other controls .. that's to say, only one specific control's change can activate the front panel updating ... That's not what I want. So how to make the front panel updated immediately like VC?
    Many thanks!

    I solve this problem by combining the event structure with a classical state machine. The classical state machine is a case inside a loop with either an enum or string shift register defining the actual state. In the idle case of that structure is the actual event structure which handles the UI.
    Whenever I need to trigger a specific action which could happen from multiple locations I actually place the handling code in a specific case in the outside state machine and just wire from the actual event case the according state out to the shift register.
    This architecture allows for a very flexible and extende state machine programming with the event structure doing all the UI event handling and the state machine doing the more involved actions or series of actions
    Rolf K
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to lighten dark areas in images with Aperture

    Various image processors have re-light or fill-light capabilities that can bring shadow areas into better balance with the rest of an image.  What are the ways Aperture provides to do this?

    Aperture doesn't have a dedicated re-light or fill-light tool, but it there are a number of tools (and techniques) that can be used to do the same kind of thing. The actual tools that give best results will vary according to the scene and the type of image detail you want to relight.
    The simplest is the highlight/shadows tool. Raise the shadows slider until all the shadow details you want have been brightened. If the adjustment is too extreme (resulting in loss of contrast) raise it a touch more and then apply the mid contrast slider to restore contrast.
    If the tonal balance doesn't look right, finish it off with a levels adjustment (and vibrancy/saturation if some colours have lost their punch due to brightening)
    If you find the results are not happening, it's likely the adjustment isn't working on the right range of data for you, so you can first use other brightening tools, like exposure and/or curves, to brigten the image, and then h/s + levels to finish off.
    Here's an example I just worked on, using curves to brighten first, then h/s + levels to adjust the final balance:
    There are many other approaches. All the tools can also be brushed into the image so they only apply to specific areas and/or tonal ranges (can be targeted at shadows, mids or highlights), multiple versions of the same adjustment type can be added ("add new xxx adjustment" from the adjust gear menu) and there are also a range of brushes (eg; dodge, overlay and contrast) that can help in getting things looking just right.
    Regards,
    Andy

  • How to I create a screenshot image with a Mac?

    Hi,
    I'm relatively new to Macs. I have yet to learn now to make a screenshot image with a Mac. There doesn't seem to be a Print screen button. How do I do this? Can it be done in the Mac OS? Or, is there a need to install some software to do this?
    Thanks much!

    It's all built in!
    Go to the Help menu in Finder and enter 'Screenshot' and press enter.
    Lots of articles there, including this one:
    To take a picture of the whole screen, press Command-Shift-3.
    To take a picture of part of the screen, press Command-Shift-4, then drag to select the area you want in the picture.
    To take a picture of a window, the menu bar, the Dock, or other area, press Command-Shift-4, then press the Space bar. Move the pointer over the area you want so that it's highlighted, then click. If you decide you want to drag to select the area, press the Space bar again.
    If you press Command-Shift-4 and decide you don't want to take the screen shot, press the Escape key.
    Screen shots are saved as files on the desktop. If you want to put the screen shot in the Clipboard, rather than create a file, hold down the Control key when you press the other keys. You can then paste the picture into a document.
    You can also take pictures of the screen using the Grab application (in the Utilities folder).
    Some applications, such as DVD Player, may not let you take pictures of the screen

  • Can't create cd image with any CD

    Hi,
    I'm having trouble creating a CD Image in Disk Utility. I insert the CD and then open Disk Utility. I then highlight the CD drive and click on New in the menu. The problem is that the "Disc Image from Device" option is greyed out. Does someone know why this option can't be selected?
    This happens with any cd
    Thanks,
    Roby

    If you are going to burn copies of the CDs, use the "Importing" pane of iTunes' "Advanced" preference to import using AIFF or Apple Lossless Encoder, so you don't reduce the audio quality. Also check the box to use error correction.

  • IPhone: How to get the original photo image with  Picker

    Hi!
    I'm trying to pick and send (via HTTP) the original image taken by the camera, the 1,600 x 1,2000 image that's available in iPhoto after syncing.
    As far as I gathered, the UIImage doesn't help me here, since it's scaled down to 640x480, probably to safe memory. But one should supposedly be able to access the underlying CIImage.
    Here's what I'm doing right now:
    I'm setting up an ImagePickerController in my
    - (void)viewDidLoad
    imagePickerController = [[UIImagePickerController alloc] init];
    imagePickerController.delegate = self;
    imagePickerController.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
    [self refreshView:self];
    and process the picked image with
    - (void)imagePickerController:(UIImagePickerController )picker didFinishPickingImage:(UIImage )image editingInfo:(NSDictionary )editingInfo
    CGImageRef imgRef = image.CGImage;
    CGFloat owidth = CGImageGetWidth(imgRef);
    CGFloat oheight = CGImageGetHeight(imgRef);
    NSLog(@"Original size = %f %f",owidth,oheight);
    NSData imageData = [NSData dataWithData: UIImagePNGRepresentation(image)];//(image, 1.0)
    However, I still get the following output:
    2008-07-25 11:44:58.543 myApplication[1564:20b] Original size = 640.000000 480.000000
    Obviously still scaled down - but there must be a way to access the original.
    What am I doing wrong?

    Yes, I'm trying on the iPhone, as the camera is unavailable on the simulator.
    Here is the code I'm using:
    // In my main code, to initialise the picker
    UIImagePickerController *picker;
    // Check if camera is available
    if ( ![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera] )
    UIAlertView *alertView = [[UIAlertView alloc]
    initWithTitle:@"Can't access camera" message:@"The camera is unavailable!" delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil ];
    [alertView show];
    [alertView release];
    return;
    picker = [[UIImagePickerController alloc] init];
    picker.sourceType = UIImagePickerControllerSourceTypeCamera;
    picker.delegate = self;
    [_myView addSubview:picker.view];
    [_myView performSelectorOnMainThread:@selector(setNeedsDisplay) withObject:nil waitUntilDone:NO];
    // The delegate methods
    - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo
    NSLog( @"Image dimensions: %fx%f", image.size.width, image.size.height );
    // Remove the picker interface and release the picker object.
    [picker.view removeFromSuperview];
    [picker release];
    - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
    // Remove the picker interface and release the picker object.
    [picker.view removeFromSuperview];
    [picker release];
    }

  • How can I resolve: cannot save any type of image in Illustrator CS6 on Windows XP SP3?

    I have a user who is on Windows XP SP3 and he cannot save any images in Illustrator CS6. When he selects eitheer of the save buttons, the location window comes up but nothing happens after that. We have given him admin rights and permissions for the computer and Illustrator, the UAC is off, we have deleted the pref folder, and we have done a reinstall of the software . Other users can log onto the same machine and Illustrator works fine for them, but; this particular user, who is the primary user of the computer, cannot save his work using the program. How can we fix this

    Flush out temp files and check disk permissions and quota. He may simply be running out of local storage space.
    Mylenium

  • How do I open a raw image with the Photoshop raw plug in as opposed to the Bridge raw plug-in.

    I read in a book on adobe raw that it is often useful to open an image at the same time with the adobe camera raw bridge plug in and the Photoshop camera raw plug in.
    I can open a raw image in photoshop but I suspect I am not actually getting access to the camera raw plug in as none of the controls present in the bridge raw plug seem to be available from within Photoshop.
    Of course I can access bridge and the bridge raw plug in by opening bridge from within Photoshop but this is not what I want to do.  I would like to open the image using the photoshop raw plug in not the bridge plug in.
    Clueless . . . and confused.
    --Kenoli

    Thanks for the discussion.  It is interesting.  Let me clarify a bit regarding my issue.
    I am using Mountain Lion OSX on a mac, of course, and CS6.  I have been using Aperture, a piece of Apple Software similar to Light Room to organize my images, opening them from Aperture in Photoshop to edit them, as I am both familiar with Photoshop and like the way it does things better than Aperture.  I recently started using CS6 and working with Adobe Camera raw 7, which I think is the version that comes with CS6.  All the info I can get from the web site, including a very nice tutorial from Adobe on camera raw, simply tells me to open it from Bridge.  When I do this, I get a nice set of sliders and other adjustments specifically associated with Adobe Camera Raw and the camera I am using.
    I can open a file in Photoshop using the method SkillRooster suggests and, sure enough, it opens it with the camera raw plug-in (if I simply open the image by double clicking on it it opens in photoshop, no plug-in).  If I then go to bridge and open it from there, I don't get a second instance of Camera raw, it simply points me at the instance opened through Photoshop.
    However, when I open a raw image in Photoshop from Aperture  (raw images open with no problem) I simply get the Photoshop interface, not the camera raw plug-in, the same as if I had double clicked on the image to open it from outside of Aperture.  I am trying to figure out if there is some way to open an image from Aperture in Photoshop so that it opens in the camera raw plug-in.  One possibility I could imagene is to open it in Photoshop and from there open it in the plug-in.  The only thing I see regarding this in Photoshop is a menu item that lets me close the image and open Bridge, which doesn't help me with my Aperture issue.  I could decide to switch to bridge, but with the thousands of images I now have in Aperture, this would be quite a bit of work.  I may just have to work with both going forward.
    The root of my original question comes from something I recently read in a book by Bruce Fraser on Camera Raw which is excellent, but it focues on CS 5.5 as he died before being able to update it.  In that book he describes a trick he uses where he opens the raw image in a plug-in in Bridge and then opens it a second time using a plug-in in Photoshop.  This give him a chance to compare adjustments between the two open images.  As I mentioned above, when I try to do this by starting with Photoshop and then going to Bridge, it points me at the same instance.  I can't open it in Bridge and then Photoshop since once it is open in Bridge, it won't let me into Photoshop without closing the image in Bridge.  I was thinking there might be something in Fraser's method that would help me with my Aperture issue, but can't reproduce what he describes.
    Perhaps this was possible in CS5.5 but no longer  in CS6.
    Another work around I can imagine is to do all my raw editing from Bridge and then save the file as a DNG file in Aperture.  I suspect that after that, I am stuck with doing any more raw editing using the Aperture camera raw funcions, which are a bit lacking compared with Adobe Camera Raw.
    Hope I am being clear here about my dilemma.  Any help would be welcomed.
    --Kenoli

Maybe you are looking for

  • Need customised report for list of stock for  partially processed materials.

    Hi , The requirement with process im explaining plz share  the report. This customised report related to partiallly processed materials: Suppose , after recieving material  from vendor as raw material they will transfer the mat to vendor for processi

  • External DVI monitor not working with new iMac 27"

    I recently purchases a 27" iMac and i'm trying to get it working with a 3rd party DVI external monitor. I got the Apple mini display port (thunderbolt) to DVI adapter and connected everything via a new DVI-D cable. The iMac detects there is a monitor

  • Where do we need to place DLL files for webutil_c_api

    Hi.. (I posted this a few days back, but no reply..buddies, help me plz) In Forms 10g while using webutil_c_api to call c functions, where do we need to place the DLL files. Is it enough if we place in the AS or do we need to place the dll files in a

  • Convert to a Logical Standby Database

    hii, presently i m trying to convert physical standby into logical but i can't understand that this command is execute on standby db or primary db. ALTER DATABASE RECOVER TO LOGICAL STANDBY <db_name>;

  • Starting a program from an icon icon

    Is it possible to create a application which is started by an executable icon, and if so how do you do this?