Trying to establish Colour Hex Value for edge of image

Using style no.11 and tinkering with the colour I've created
a couple of tiles that I can use to display as a background in my
header and left hand column.
I need to specify a backgound colour in my Style sheet to
match the edge of the graphics, but I'm having a bit of trouble
determining the Hex value of the pixels.
I've tried looking at the file as a bitmap, but it doesn't
seem to show hex values in this format.
I'd be grateful If anyone can suggest the technique required
for this process.
Thanks,
Myles

Opened the Lemon image file.
Copied the background layer by dragging it to the little folder icon at the bottom of the layers palette. (I then double-clicked on the name and called it "Image layer" you don't have to, but I like to name layers as a matter of course.)
Selected the Background layer and filled it with white*.
Selected the Image layer and added a layer mask by clicking on the little mask icon at the bottom of the layers palette (3rd from left).
Took the gradient tool and chose black to white (should be the default). Drew the tool across the image to fill the mask (making sure the mask is selected in the layers palette.)
Voilá!
You can keep the layered image by doing a "Save for Web" which will prepare the file for the web page.
*If your web page had a different colour you could use that here.

Similar Messages

  • I am trying to establish a new appleID for my daughter--but we get an error message that her email is already "in use".

    i am trying to establish a new appleID for my daughter--but we get an error message that her email is already "in use". why?

    Try:
    iOS: FaceTime is 'Unable to verify email because it is in use'

  • Error while reading UcdContext [trying to read / set application values for users]

    Hi,
    I am trying to write a program to store user selected values on NW7.3 Portal using "User Content Directory". I can see and read some code snippets on how to set and read the context but I am getting one error after another.
    The error message I am getting is
    "com.sapportals.portal.pcd.gl.PcdGlContext:service:[email protected]entClassLoader@84507ed@alive incompatible with interface com.sapportals.portal.pcd.gl.IPcdContext:sap.com/[email protected]der@f46d103@alive ". Code snippet is as given below at the end of the message.
    1) I tried different ways to have a lookup and always gave message as "look up not found" and for pcd:portal_content came up with above error.
    2) Once I read the UCD context, I would like to store some values based on user selection and store them. User may change the values whenever they like and I will be using the values for other purposes in another application.
    3) Has any one successful in setting and reading UCD Context in NW 7.3. Will it be possible to share such sample code as the code snippets at http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/8e1bce28e24dd8abd9f4de05e5587d/content.htm are not much of use unless I am able to read the UCD.
    Thanks for your help!
    Regards,
    Raju
    TestingUCD is my test application and the following is code snippet
    InitialContext initialContext = null;
    IPcdContext pcdCtx;
    Hashtable env = new Hashtable();
    env.put(UCD_INITIAL_CONTEXT_FACTORY, UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
    try{
    initialContext = new InitialContext(env);
    //response.write("Before pcdCtx lookup");
    try {
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    } catch(Exception e){
    response.write("Some problem with lookup" + e.getMessage());

    Hi,
    There are quite few differences in the standard code snippet given by SAP Help on UCD and the once that you put above in the question.
    Below is standard snippet.
    Hashtable<Object, Object> env = new Hashtable<Object, Object>();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    IPcdContext.UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, user);
    InitialContext ctx = new InitialContext(env);
    pcdCtx =  (IPcdContext) ctx.lookup("");
    ============================
    Check the ones highlighted in BOLD and compare them in your code. In your code when ur doing initial lookup you are not using the Correct class type cast for the returned lookup object!
    Your code shows as below:
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    But may be it shd have been something like below:
    pcdCtx = (IPcdContext) initialContext.lookup("pcd:portal_content");
    Pls verify and hopefully this resolves your issues around look up.
    Thanks,
    Swapna Priya.

  • Hex character value for InDesign frame break

    I have been able to identify that the hex value for a carriage return in InDesign is "000D". Is there a specific hex value for InDesign's frame break character?

    Through internal magic. There are more codes that are "magic" inside an InDesign document. \u0016 for example, is the code for a table, and you can search for it too. But you cannot insert a table by putting "\x16" in the Replace field. Same with anchored object -- \uFFFC -- and various other magic markers.
    I promised "a tip or two" but the only way to bring a frame break in from beyond ID itself is through a Search-and-Replace in ID after you loaded your text. Insert some unique code in your software in place of these frame breaks (something simple like "{FrameBreak}" ought to do it; unless your text may already contain this particular sequence, then you have to make up something on your own), and after placing the text into ID, search for this text and replace it with the code "^R", which is "Frame Break" according to the Find/Replace Text drop down menu.

  • Hex Code for EoF indicator

    Hi Folks,
    I have a requirement to develop a flat extract program (no issue there).  The problem is that the users require a '&#61569;' character to indicate end of file.
    I presume that there is a hex or unicode character that represents this character.  Can anyone tell me a) what it is, or how to find out if it is contained in the installation codepage; and b) how to I write the hex character to the dataset - all attempts to write out hex characters have resulted in the text value representing the associated symbol being written out in character format (i.e. 20 rather than ' ', for example).
    Sincerest thanks.
    Regards,
    Steve

    Hi folks,
    Follow-up problem - I've opened the dataset for output as a character field, but I get a dump when I try to write the hex value for EoF ('1A') to the dataset.  The error states that system interprets the type x field as a 'non-character type', and therefore won't permit it to be written to the dataset.
    I've tried changing the encoding parameter on the open dataset statement from default to non-unicode, but with no success.  Similarly, I've tried to convert the hex value to character, but then I get a character field with the value '1A' instead to the box symbol I require.
    Any thoughts would be greatly appreciated.
    Regards,
    Steve

  • How to set default values for boolean columns

    I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
    I've tried to set default value at column level:
    <Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
    Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
    <Default>TRUE</Default>
    </Field>
    and at content type level:
    <FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
    But in any case, when i create a new item with this content type, default value is applied.
    Can anyone tell how to set default values for boolean columns?
    Thanks in advance,
    Regards,
    Sergio

    In the field definition you can set
    <Default>1</Default>
    or
    <Default>0</Default>
    How to set the default value Null?

  • Setting default value for a jcombobox based on the value not the index

    I am trying to set the default value for my combobox to the current year. One way I thought of doing it was to get the index of the value representing the current year and then use setSelectedInex to make it the default. Any ideas?
    The relevent section of code is below.
    GregorianCalendar gregorianCalendar = new GregorianCalendar();
    int year = gregorianCalendar.get(Calendar.YEAR);
    String currentyear = year + "";
    int startyears = 2000;
    int numyears = 25;
    JComboBox endyearcombobox = new JComboBox();
    endyearcombobox.setBorder( BorderFactory.createLineBorder(Color.DARK_GRAY));
    endyearcombobox.setFont(standardfont);
    endyearcombobox.addActionListener( new ActionListener() {
    public void actionPerformed( ActionEvent event ) {
    endyearcombobox = ( JComboBox )event.getSource();
    endyear = endyearcombobox.getSelectedItem();
    boolean same = endyear.equals(oldItem);
    oldItem = endyear;
    String[] endyearlist = new String[numyears];
    for(int i = startyears; i < startyears+numyears; i++){
    String item = new Integer(i).toString();
    endyearcombobox.addItem(item);
    Thanks
    Ged

    Thanks mate,
    That was what I was looking for. I still had a little more manipulation to do, but sent me on the right track and have got it working now. I don't know why I didn't think of it in the first place.
    Ged

  • Hex value to Hex display

    I read in a text document from a server different HEX values ​​depending on the equipment i used. The Hex value is sent to a VI for TMT commands.
    And the entrance which must be presented as HEX display.
    I want to "convert" an appended path string with HEX value for example (0000 3D11 03) to HEX display (0000 3D11 03)

    Duplicate Post
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • BAPI_PO_CHANGE does not change LIMIT value for service PO with ref to IDOC

    Hi,
    I am trying to change the limit values for both ACCTASSCAT (K) and item cat (D ie service PO) with ref to message type PORDCH IDOC type PORDCH02, the IDoc is getting posted but the PO is not getting updated ie LIMIT value is not getting change and returning msg "No data changed".
    Could you please provide the way to change LIMIT value.
    Regards,
    Mojammil Khan

    Are you really sure that your IT_SCH has the same fields like POITEM?
    the delivery date and statistical delivery date are located in the schedule tab in ME23N and stored in the schedule table EKET, not in EKPO where the PO item data is stored.
    I think you should assign your IT_SCH to POSCHEDULE

  • Grouping to display null values for all the missing dates

    Hi SAP,
    I am trying to display '0.00' value for all the missing dates in my crystal reports as follows:
    17-Jan-14     40.00
    18-Jan-14       0.00
    19-Jan-14       0.00
    20-Jan-14     80.00
    However, my crystal report is showing as follows:
    17-Jan-14     40.00
    18-Jan-14       0.00
    19-Jan-14
    20-Jan-14     80.00
    The missing dates with no data are group together and my '0.00' value is not. Kindly advise me the solution. The formula is shown as per attached.
    Thank you.
    Regards.

    Hi,
    Thanks for your reply.
    Fyi, I am using a formula field in crystal report to display "0.00" for days in between as follows:
    whileprintingrecords;
    if Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy') = "" then "" else "0.00"
    There is another formula field in crystal report to display the missing dates in between as follows:
    whileprintingrecords;
    Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy')
    Below is my report custom functions:
    Function Days_Between (datefield as datetime, nextdatefield as datetime, format as string)
    ' This function is only used to display what data is missing within a specified date range...output type is text
    dim thisdate as date
    dim nextdate as date
    dim output as string 'output is the text display
    dim daysbetween as number
    dim looptimes as number
    looptimes = 0
    daysbetween = 0
    output = ""
    thisdate = datevalue(datefield) + 1
    nextdate = datevalue(nextdatefield)
    if nextdate - thisdate > 1 then daysbetween = nextdate - thisdate else daysbetween = 1
    do
    if nextdate - thisdate > 1 _
    then output = output + totext(thisdate, format) + chr(10) _
    else _
    if nextdate - thisdate > 0 _
    then output = output + totext(thisdate, format)
    looptimes = looptimes + 1
    thisdate = thisdate + 1
    loop until looptimes = daysbetween
        Days_Between = output
    End Function
    The issue arise when when there is more than one missing dates in between but the null values ("0.00") displayed is only for the first missing dates and not for all the missing dates.
    Regards,
    Ting Wei 

  • Set default value for listbox items - Acrobat Javascript

    Hello,
    I am trying to set the default value for a listbox where multiple items are selected.
    If a single item is selected then this.getField("zzz").defaultValue = x; works fine, but you cannot use defaultValue for multiple indicies. The manual mentions the user or export events but I cannot see how that would work.
    Any help will be appreciated.
    Andrew

    I hope somebody can provide help with this as I'm having a similar problem.
    http://www.directorygump.com

  • Is there any optimal adjustment for Edge Sharpening?

    When I mostly worked with PS I used an adjustment for sharpening portraits and another one for landscapes.
    I wonder if someone could tell me a general good value for ·Edge Sharpening" with these two options working with Aperture.
    Best regards.
    iMac Intel Duo 2 Core Mac OS X (10.4.8)

    I've saved several settings from which I select:
    (weak) 50/33/66, 50/33/99, 50/50/99, 50/66/99 and 66/66/99 (strong).
    Generally, on high ISO shots, I use weaker sharpening than on low ISO shots. Portraits also usually want less sharpening than, say, landscapes.
    Otherwise I have no real rule of thumb. Depends on the image. I play with the sliders (which work quite well these days on my old G4 powerbook, as long as I don't have shadows / highlights enabled - thanks for that, Joe and team!) until I'm happy in this order: first the top slider, then the second one, and finally the third one.
    Cheers,
    Karl
    Cheers,
    Karl

  • EAN/UPC values for material creation

    Hi,
    What all values we can give for EAN/UPC?
    I have given 00066800543215 for one material. When I tried to give the same value for another material, I am getting " EAN value is already used for so and so material"
    Could you please tell me, what all values we can give for EAN/UPC.
    Regards
    Sara

    EAN/UPC number is unique for a given material. So one EAN/UPC ( international artical number) number can't be assign to two material. so check whether this ean number is used in correct material and if not then remove from the material it is used and assign to this number.

  • Forcing "No Values" for "Optional Prompt" parameter

    Hello,
    I develop the .NET web application with Crystal Reports 2008.
    I have the Crystal Report with one parameter.
    This parameter is "Optional Prompt" (ParameterFieldDefinition.IsOptionalPrompt = true).
    At first the webpage (with CrystalReportViewer control) shows the prompt field to enter parameter values, and "OK" button.
    If user doesn't enter any values and clicks button, data for default value appears.
    So the question: How can I force a showing the data for default parameter value, without prompt field appearance?
    In this case: user opens the webpage, and data for default value appears.

    Hi Ludek.
    1. Is SP3 required to get the answer?
    If so, I'll install it.
    2. The default value is the empty value.
    let me describe problem in details:
    The Crystal Report shows Customers data from MS SQL database.
    This Crystal Report has 1 parameter: CustomerID (string).
    If user enters value for this parameter, the report shows data only for Customer with entered CustomerID.
    But if user doesn't enter any value, all the data appears (for all Customers).
    So, the page with prompt field appears when user opens the web page with this report.
    If user enters some CustomerID and clicks "OK" button, the web page reloads and data for this Customer appears.
    If user doesn't enter any value and clicks "OK" button, the web page reloads and shows data for all Customers.
    This is the CORRECT behavior!
    But in some cases I need to omit the page with prompt field.
    I need to see data for all customers immediately.
    Is it possible?
    I tried to set "" (empty string) value for this parameter, but prompt field still appears.
    3. .NET version is 4.0
    4. Both - it happens on my development machine, and on other machine after deploy.

  • Finding a Gif Encoder for Java Advanced Imaging (JAI)

    I'm trying to find the GIF encoder for Java Advanced Imaging. I keep reading all over the place that there is one, but for the life of me I can't figure out where it is supposed to be. Could anyone please enlighten me?
    Thanks

    After I installed this, it still doesn't report gif as a possible encoding type:
    String[] codecs = ImageCodec.getEncoderNames(img, null);
                for (int j = 0; j < codecs.length; j++) {
                    String codec = codecs[j];
                    System.out.println (codec);
                }only reports the following types available:
    pnm
    jpeg
    tiff
    png
    bmp

Maybe you are looking for