Removing an image border

I am having difficulty getting rid of the white border that surrounds a trimmed jpeg image. I've tried the various transparent options that do make the white border fade away but unfortunately the image fades (using the Darken transparent option) . There has got to some easy way to do this but call me a dunce, I can't find it

JPEG images do not support transparency. Either open the JPEG in Photoshop, add your transparency, and save as PSD; or draw a clipping path in Illustrator using the Pen tool.

Similar Messages

  • Quick question - JButton containing an Image - removing the Images border?

    Hi, I have a JButton with an image inside it.
    I would like the JButton to have a border, but not the image when it is clicked.
    It currently looks like this - here
    As you can see, there are two borders (this is once the button has been clicked).
    The one around the JButton is the one I wish to keep, the one around the ImageIcon is the one I would like removed.
    I am sure there is a simple way to do this - I'm sure I have managed it before.
    part of the code used to create:
    JButton money = new JButton();
    money.setBackground(buttonColor);
    money.setIcon(new ImageIcon ("money.gif");

    That thin blue box is indicating the button has focus. It appears even if the button just shows text and has no icon. Here is an example where I get rid of it on btn1 but not btn2.
    And in the future, please post Swing questions to the Swing forum.
    import java.awt.*;
    import javax.swing.*;
    public class ButtonExample {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    new ButtonExample().launch();
        void launch() {
            JPanel cp = new JPanel();
            JButton btn1 = new JButton("button 1");
            btn1.setFocusPainted(false);
            JButton btn2 = new JButton("button 2");
            cp.add(btn1);
            cp.add(btn2);
            JFrame frame = new JFrame("ButtonExample");
            frame.setContentPane(cp);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    }

  • [svn:fx-trunk] 11376: Remove external image support from BitmapImage and BitmapFill.

    Revision: 11376
    Author:   [email protected]
    Date:     2009-11-02 11:39:44 -0800 (Mon, 02 Nov 2009)
    Log Message:
    Remove external image support from BitmapImage and BitmapFill.
    QE notes: none
    Doc notes: ASDoc updated. Any other docs that mention loading external images in BitmapImage, BitmapFill, or Border need to be updated.
    Bugs: none
    Reviewer: Jason
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as

    That PKGBUILD doesn't work, primarily because _svnmod is not set correctly.  The remaining problems are mostly down to not being in the $srcdir directory when checking out the ImageMagick source.  It's also good practice to copy the source and do the build in the copy.  That way, it will be possible to successfully update the source and rebuild the package at a later date.  Otherwise, the PKGBUILD certainly works with the following modifications but I've no idea whether the package is viable because I didn't try installing and testing it.
    _svntrunk=https://www.imagemagick.org/subversion/ImageMagick/trunk
    _svnmod=ImageMagick
    build() {
    cd ${srcdir}
    if [ -d $_svnmod/.svn ]; then
    cd $_svnmod
    svn up
    else
    svn co $_svntrunk $_svnmod
    fi
    rm -r ${srcdir}/${_svnmod}-build
    cp -r ${srcdir}/${_svnmod} ${srcdir}/${_svnmod}-build
    cd ${srcdir}/${_svnmod}-build
    if [ "${CARCH}" = "x86_64" ]; then
    patch -Np1 < ../libpng_mmx_patch_x86_64.patch || return 1
    fi
    Etc., etc.
    Last edited by azleifel (2010-04-11 22:15:09)

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How do I change an image border color to another color - Dreamweaver CS5?

    Good day,
    I have just learned how to add a border to an image with Dreamweaver CS5 within the Properties Inspector.
    After typing the width in pixels in the Border Text Field and pressing the Enter key, Dreamweaver created a black border.
    How do I change the image border color to another color?

    I added your suggested rule to the Style Sheet "in any order" as you explained. See the image below.
    However this did not change the image border from black to light blue. In fact, nothing changed.
    Nothing changed because the CSS that has been written into DW is incorrectly written.
    You want the following (exactly as written below)
    img {border: 4px solid #0062C8;}
    You've inadvertently wrapped the rule inside a #main_image container rendering it meaningless.
    It's easiest to go into Code View and change
    #main_image {
         img {border: 4px solid #0062C8;
    to
    img { border: 4px solid #0062C8; }
    The Property Inspector added a border exactly as I wanted it, other than the color I wanted the border to be. What is the use of this function in Property Inspector if it can add a border within Property Inspector but not let me change the COLOR of the black border that Property Inspector added, to another color?
    That's a deceptively simple, yet valid, question with a long answer.
    Back in the dark old days of web design web designers were restricted to inline HTML formatting which offered  border properties but no colors.
    CSS styling offers colors and more but has to be written differently.
    These days. it's best to avoid HTML formatting. Unfortunately border="4px" in the PI still allows it. But does not permit color.
    Does anyone else out there ever add color borders to their IMAGES (not the containing box for the image) ?
    Yes, using CSS.

  • Remove back image while exporting to PDF (InDesign CS4)??

    Hi All,
    I have two images in my InDesign CS4 file and one image is hiding behind my second image. When I am exporting my InDesign file as Pdf and opening in Acrobat, Acrobat showing bottom image first and then showing my top image.
    Is there any way to remove my bottom image which is appearing behind in my top image while exporting to Pdf.
    I don't want remove manually because it happening with most of my InDesign file.
    Please suggest.
    Thanks
    Baljeet

    I would move bottom image to separate layer and then eventually I would switch it off.
    If you don't want to change anything in InDesign you can eliminate the second image in your already generated PDF.
    Open your PDF in Acrobat Pro.
    Advanced -> Print Production -> PDF Optimizer.
    You can leave only "Clean Up" check box marked (eventually Transparency if Acrobat will not allow you to switch it off). All the rest leave unchecked.
    This operation will remove hidden image.
    Correction: It will not remove the image. It just made the PDF to be displayed much more faster that is why the second image appearance was not noticeable. Sorry for the inconvenience.

  • How to remove cached images in html whe going from one page to another page

    can anybody help how to remove cached images in html pages.i tried with response.setHeader("no-cache") but it is not working

    thanks,
    can u tell me how to make the browser not to cache images.since iam moving from one page which has images, into another page which having few more images both gets overlaped so how to remove images of previous page.
    thanks in advance

  • How can I remove an image from its background and save it? (Photoshop cs6)

    Hello,
    I am very new to the photoshop world and am trying to remove an image from its background ( as a stand-alone) and save it. Is there a way to do this in Photoshop CS6?  I have looked at tutorials but only found how to remove the image but not how to save the image as a stand alone with no background.
    Any help would be appreciated
    Erika

    Hi Erika,
    Are you trying to save a portion of an image with a transparent background? It may help to post a screenshot of the image that you're working with as well as your layers panel.
    I've included a few tips below that may help you with your situation. If you need additional help, please feel free to post again
    Deleting a background and saving an image with a transparent background
    1. Here I am working with an image of a santa hat that I've cut out from a white background. I have two layers, the cut-out santa hat and the original file. I'm going to delete the background layer so that I have just one layer - the cut-out santa hat:
    2. You'll see that a checkerboard pattern has appeared behind the santa hat. This means that the background is transparent.
    3. You can then go to File > Save As... and select PNG, Photoshop PSD, or TIFF from the Format dropdown menu. These file formats will save the cut-out portion of your image on its own, while preserving the transparent background.

  • How to remove the "Image Mask" labels under the effects tab in the Inspector window

    I'm still trying to find my way round Final Cut Pro X after using Final Cut Express for many years. I don't know how I have manage to finish up with two Image Masks being set under the effects tab in the Inspector window. The Image Mask effects are not active (the box adjacent to the label is not blue) How can I remove the Image Mask label from the Effects tab in the Inspector window?
    Thanks JohnH

    JohnHutchinson wrote:
    … How can I remove the Image Mask label from the Effects tab in the Inspector window?
    just click onto the grey bar and…
    … and hit 'delete'/back-space key.-

  • How to set image border with CSS Designer?

    I must be missing something obvious...
    I need to set an image border. I select the image. But I don't see any relevant inline style option in CSS Designer.
    It only lets me change <inline style> : td but there's no option for the image.
    What am I missing?
    Thanks,
    Leo

    Thanks John,
    Yes, obviously I select the image.
    However, it doesn't change anything.
    I don't get the "img" selector whatever choice I select it the Sources pane.
    What am I missing?

  • C#: How to remove all images in a Crystal Report

    Hi there,
    how can I remove all images that are inside a Crystal Report programmatically? How are they stored internally? How can I access these images?
    Thanks,
    Pascal

    Hi Ludek,
    thanks for the hint. I did the following which removes everything. Unfortunately, the limitation to Images (I wanted to remove a bmp I added to the report) does not work, do you know, why (see commented line)?
    //remove images
    CrystalDecisions.ReportAppServer.Controllers.ReportDefController2 reportDefController = rasDoc.ReportDefController;
    CrystalDecisions.ReportAppServer.Controllers.ReportObjectController reportObjectController = reportDefController.ReportObjectController;
    CrystalDecisions.ReportAppServer.ReportDefModel.ReportObjects reportObjects = reportObjectController.GetAllReportObjects();
    foreach (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject reportObject in reportObjects)
        //if (reportObject.Kind.Equals(CrystalDecisions.Shared.ReportObjectKind.PictureObject))
              reportObjectController.Remove(reportObject);
    Thanks,
    Pascal

  • How to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot controlled with mouse, returns auto to top of scroll slide, never remaining at bottom

    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.

    cjuan1morb4ulv wrote:
    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.
    The first two problems (box cycling from element to element on page, scroll bar returning to top) can be caused by a stuck (or defective) Tab key on the keyboard. Such damage can be caused by a liquid spill; just one tiny droplet is enough to short a wafer switch under one key.
    The last issue (black box, white text - sounds sorta like a debugger window) I haven't seen, but could be caused by something similar.
    To check for that, try using a different keyboard. If you're using a wireless keyboard, turn it off and see if the oddities stop.

  • I want to remove background image

    Hi friends,
    Hope all are doing well with your premiere
    Can you please get me out of this problem..
    I have done with my editing 2days back.. I have added background image removing blue screen..
    But after the cd was burned, while watching it on TV/PC the video was shaking fully.. I didn't have this problem before..
    Now, I want to remove the background image and keep the blue screen as it is.. how can i get it? I just want to remove background image without disturbing any editing part(Cuts).
    Thank you..
    Regards,
    Sindhu

    Select all the clips with a key, right click, and select remove effects. This will remove all the effects for those clips so you will loose any colour correcting or other changes you might have done.

  • How to remove background image per action

    Hi!
    I just created a wonderful action, but there's still one step I can't get working.
    I am optimzing scanned PDFs.
    First step: Preflight: Convert to greyscale.
    Second step: Optimize PDF: All filters set to high. This separates the background of the scan from the scanned text. Both marked as image, not as background image.
    Third step: Remove the backmost image. Can't get that working.
    Any ideas?
    Thank you very much!

    There may be a preflight script to remove the image, but it might get rid of all images. You can also use the Object Touchup Tool (or the new name that I forget) to select the background image and delete it. You would have to do it on each page.

  • My RGB colors are turning to cmyk while bringing image from illustrator or photoshop. Why?  Removing the image from that page bright RGB colors are back.. hmm

    My RGB colors are turning to cmyk while bringing image from illustrator or photoshop. Why? 
    Removing the image from that page bright RGB colors are back.. hmm

    Edit > Transparency Blend Space > Document RGB

Maybe you are looking for

  • Sql exception when connecting to oracle database

    When trying to connect to an oracle database using the code below i get an sql error. i put the code below it and the stack trace below the code. any help would be great Connection connection = null;         try {             // Load the JDBC driver

  • How to make a control to let the user to select a type of line?

    Dear All, I want to make a control to let the user can select a type of line from some types. Just like selecting the line type of plot in the graph. Is there any good way to do it, or is there any examples? Thank you.

  • Migration to 7.1

    Dear all, could any one clear this points for me i am using Mobile netweaver 7.1 .... i don't have any previous version of MI could i use for example MDSD 3.0 or XMAM30  xapps  and migrate them  using migration guide is there any configuration for th

  • Force Quitting Applications

    Good Morning All, Is there documentation anywhere on force quitting applications and why it should be done as a last resort? I have a user who ALWAYS

  • Is third party password software still needed

    I use 1Password and it is a mess right now withe syncing because of where I purchased the same app versions from. App store & Agile bits is a no go. Lots of workarounds and I am tired of it. Do I still need it for banking online or is the Mac & Safar