Transparency with jpeg images

Apologies if this is a dumb question; I can't seem to find the answer to it. Basically, I'm importing a JPEG image and I want to ignore a certain color when I draw the image. I want to skip over any pixel with that color so that whatever was there before is still there (very similar to the transparency in a standard GIF image).
Is this possible? If so, how do I do it? If not, are there any suggestions for what to do instead?

Yes it's possible. Simply load the image into a byte array. Traverse the array and check the pixel color. If it's a match, write pixel as transparent, if it's not a match, just copy the pixel. Search forums for PixelGrabber, BufferedImage, and maybe Transparency and you should find hundreds of examples.

Similar Messages

  • Working with Jpeg image

    Hello,
    I am currently working with a jpeg image in illustrator.  I would like to first make the part of the image which is white transparent. When I move this image into the quark file which has a grey background in that particular area I would like for it to show.  Secondly, I would like to change the color of a particular part of the image.  The image is of a logo and it is hard to use the pen tool on this image.  Please help! Thanks
    KC

    What you are describing would be most easily completed in Photoshop.  Illustrator, being a vector-based illustration tool, is not really the correct tool for editing raster images.  If you need to use Illustrator because you don't have access to Photoshop, do some research on masking.  Masking would probably be the best way to complete what you are wanting to accomplish.

  • File size with JPEG Image files

    I recently had to re-load all of my photos from an external hard drive due to the fact that my hard drive crashed. When I did, I noticed that the files are JPEG Image files. As a result, the file size is considerably smaller than the original file and the quality is much less.
    Any suggestions on how to restore the file to the original format and quality?

    Connie:
    Yes, it seems you backup the Data folder instead of the Originals folder. Unfortunately, there's nothing you can do at this time.
    In the future, I suggest you copy the entire iPhoto Library folder to the external and then keep it updated with a backup application like Digital Backup, Snyk, etc. They compare B (the backup copy) with A (the working copy) and copy new or changed files from A to B to keep them identical. After the initial copy process, the subsequent backups are rather quick, about a minute or less.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Thumbnails with Jpeg images

    I want to export JPEG images to an SD card to use in a digital photo frame. However, it seems a tiny thumbnail is always exported. How do I just export pure JPEG with no thumbnails?

    skipcello:
    Welcome to the Apple Discussions. Use the application Grim Ripper to strip the resource fork from the files before adding to the memory card. Export the files to a folder on the desktop, run Grim Ripper and then add to the card. You might fine that the slides may display faster if you reduce the size to the pixel dimension of the frame's screen beforehand. You can also get more pictures on the card.
    I've got a digital frame and it doesn't read the thumbnails in the resource fork. The card is a smart digital card and formatted for Fat 16 I think.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to export PDF to HTML with JPEG image format (not PNG)?

    Hello,
    When I export a ".pdf" file to ".html", using Acrobat 11 Pro, the program creates a subdirectory with ".png" image files.
    I need these images to be in the ".jpg" format, not ".png".
    Do any of you know how to change this setting? I am assuming that it is not a permanent default...
    Thank you,
    brivera0

    Alas, I checked on my Acrobat XI before posting. That setting was removed.

  • Problem with jpeg image

    Hi, i'm a professional italian photographer, and i'm using aperture since gennary 2006, it's fantastic, but last update make me same problems, when I'm try to open from my library some jpeg images, i see the image for a second, but after it became black and appers this message: image format not supported.
    Do you now what append?
    Thank you
    powermac g5 quad   Mac OS X (10.4.8)  

    hello, max
    quote: "when I'm try to open from my library some jpeg images, i see the image for a second, but after it became black and appers this message: image format not supported."
    have you tried updating the preview?
    have you read this?
    http://docs.info.apple.com/article.html?artnum=304552
    victor

  • Problem with jpeg images imported from Illustrator

    Hi, i am kind of new with Premire and video, though have experience in web design and coding, but i have noticed a weird problem with premiere pro cs 5.5  when i  import jpeg pictures and put them as intro before the video that where done in adobe illustrator and have vectors and stuff, the quality of the image gets pretty bad and blurry...i searched through the internet looking for clues on what to do like changing to png, tiff formats but nothing has helped so far....any ideas on what to do. So when i import jpeg,png images from illustrator (that have vectors or illustrations) do i have to do something special with it, or import it in some special format??? i would appreciate the help.
    This is how the image looks on youtube:
    Anyway here is the video with its poor image quality. http://www.youtube.com/watch?v=o_oMNzXAZ8Y&feature=youtu.be
    This is how it looks originally before putiing it, in premiere pro cs 5.5
    Anyway here is the video with its poor image quality. http://www.youtube.com/watch?v=o_oMNzXAZ8Y&feature=youtu.be
    THANX guys would appreciate the help!!!

    hiya.
    video likes 72 dpi ( though some will say it doesnt matter .. thats a long story ). basically video 'shows' 72 dpi ( basically what the monitor resolution is...typically 72 dpi ).  As you know from print and dimensions, there is a relative sorta thing with byte count ( file size in bytes ), ppi ( I usually say dpi but in video its ppi ....same thing basically )..., and dimensions ( width x height ).
    soooo , as you know in print and web stuff...there is a relationship between number of dots or pixels, dimensions in inches or pixels, and overall byte count of file size....
    That said, in "print" it is usually best to go with 300dpi.. In video it is best to go with 72 ppi.....
    Also, in print and going offest press.. its nice to go with cmyk ( for color separations ).. but in video and web its best to go with RGB.
    The video stuff doesnt deal with vector stuff... it just sees and deals with bitmapped stuff...vector stuff is a mathematical sorta thing whereas video stuff is just plain old bitmaps ( like BMP, TIF, JPG, etc )...
    Ideally your still images and graphics in a video editing program would be bitmapped rgb 72 ppi.. and match exactly the dimension of your video format ( eg. 1080p ).  That said, it is normal to have LARGER images ( still images and graphics ) than your project dimensions if you PLAN ON SCALING AND MOTION )... like, your original graphic or pic can be larger than the project if you plan on scaling it down over time to make it look like you are zooming out in the video ....
    To get the best results of a graphic or picture in a video is to have it exactly the project size ( eg. 1920x1080 px at 72 ppi for full HD ).
    soooooo.... if you convert your vector to bitmap, save as psd or tif or something... at 72ppi , with the dimensions in inches or pixels that equals the video ( 1920x1080 for example )... you will see what you want in your second sample ( the original )...
    ps.. you can import layers to the video if you wanna do a psd file and have ONE of those layers the one you use in your video ...can label it something like " video layer " ... whatever...

  • I have Sony camera DSC-HX400V which does not have raw program. Pls explain what can I do with jpeg only

    I have Sony camera DSC-HX400V which does not have raw program. Pls explain what can I do with lightroom 5 with jpeg only
    Arieh Gertler
    [email protected]

    You can do just about anything with a JPEG image that you can with a raw image. The advantage of working with raw is that it is possible to work with more extremes in exposure. More highlights and shadows can be recovered in a raw image, but there is a lot that can be done with JPEG images as well. All of the library functions and keywording and all the other features of Lightroom can be used on JPEG images just as easily as they can be used on raw images.
    Having said all that, you might be more comfortable using Photoshop Elements. Both programs have trial versions that you can use for 30 days to decide which one or whether both will work for you. It would probably be to your advantage to try them out and decide for yourself.

  • Opening JPEG images in ACR

    I read in a library book that I can work with JPEG images  in ACR by going to file >Open as selecting image and choosing the camera raw option. However the selected image appears in the main editing space, not in camera raw. I`m using elements 10 with windows XP. Can anyone tell me where I`m going wrong?

    What's your screen vertical resolution ?
    On some notebooks, it seems it is inferior to the required minimum vertical resolution for the camera raw dialog to appear (I am not sure, something like 800 pixels). Then the automatically converted raw may be opened in the normal editor.
    Don't trust me too much for that, that's something I have never tested myself.

  • Removing Color Cast with TIFF images?  (PSE 8)

    Hello,
    Hoping someone can help.  I'm trying to "remove color cast" with TIFF images and I'm not seeing the option as available.  It works fine when I try to use it with JPEG images.
    To be clear....I'm using PSE 8...after opening a picture (of course), on the top menu "Enhance", then "Adjust Color".  When I'm working with a TIFF image the option "Remove Color Cast" is not available/active.  It works fine with JPEG images.
    What am I missing?
    Thanks,
    Rich

    Alternatively if you want to keep the file at 16 bit click File >>Open As >>Camera Raw
    Then use the temperature and tint sliders to edit your tiff.
     

  • Elements 10 canvas not working with tiff images; works fine with jpegs. What to do?

    Elements 10 canvas not working with tiff images; works fine with jpegs. What to do? It does not allow me to add a colored canvas, only a blank canvas.

    Perhaps some of the tiffs are already layers.
    In other words, since jpegs don't support layers, they all ways open with one locked background layer, but the tiff format does
    support layers so the tiffs don't have to have a locked background layer and can already be a regular layer that supports transparency.
    For the tiffs you could add a new color fill layer below and use the color you want the enlarged canvas to be.
    On pse 10 look at the bottom of the layers panel for the new adjustment of fill layer icon

  • Need help to create report with jpeg/gif image

    Hello,
    I need help with creating a form with a special jpeg/gif seal. I never done this Java. Until now, I created all forms with ansi C++ with HP escape characters to draw lines, boxs, and text. This form will contain boxes which is populated with database information read from a text file.
    Since this form contains a special seal on the upper right, I don't think it can be done with old fashion ansi C++. How can I create a form with Java and create it as a simple exe to just print the form to a specified printer.
    Thanks,
    John

    Hi,
    I am creating a form with boxes (lines and text). What is special about this form is that it has an image jpeg or gif at the top right corner. Is is a state department seal. Up to this form, I had used ansi C++ and print out escape HP character to print out the lines, boxes, and text. I have no idea how to print out the image. I am new to JAVA and only 1 class in it. Is there sample code out there to create this type of form with the image? I need a starting point.
    Thanks,
    John

  • How do I forward an email with an image on it? It changes to a jpeg instead of leaving the picture in place. Ex. : gallery invites

    When I receive an invitation from galleries etc. with an image on it and I want to forward it, the image converts to a jpeg or something else rather than leaving the invitation as I received it. Is there any way that I can forward something with an image on it exactly as I receive it? If you send me an email address I will try and forward something to you. I promise I will never use it again
    Marx & Zavattero presents "Compound Eyes on the World: New Work by Andrew Schoultz"
    Marx & Zavattero News [[email protected]]
    This message was sent with High importance.
    Sent: Thursday, September 09, 2010 11:00 PM
    To:
    Shel Kasmir
    Attachments:
    Marx & Zavattero is proud to announce Compound Eyes on the World, Andrew Schoultz’s ambitious second solo exhibition at the gallery.
    Inspired by the shifting nature of history as record in the past, present, and future, Schoultz’s latest exhibition alludes to the tornado of
    information present today and the assumption that we are able to sift through the detritus to find clarity and meaning. The driving force
    behind this body of work straddles a line of duality between perceived reality and fiction, creating a theatrical tour de force of mixed media
    paintings, drawings, monotypes, and sculpture.
    You are welcome to join us for the opening reception for the artist on Saturday, September 11 beginning at 5:00 pm, with wine generously
    donated by the Heart of Sonoma Valley Winery Association.
    We hope to see you in the gallery soon, but in the meantime...click here for an online preview of the show!
    Andrew_Schoultz
    If you cannot view the above image, please click here
    Warm Regards,
    Marx & Zavattero
    77 Geary St. (@ Grant Ave.), 2nd Floor
    San Francisco, CA 94108
    (415) 627-9111
    www.marxzav.com
    Hours: Tu-Fr 10:30-5:30 Sat 11-5

    Marx & Zavattero presents "Compound Eyes on the World: New Work by Andrew Schoultz"
    Marx & Zavattero News [[email protected]]
    This message was sent with High importance.
    Sent: Thursday, September 09, 2010 11:00 PM
    To:
    Shel Kasmir
    Attachments:
    Marx & Zavattero is proud to announce Compound Eyes on the World, Andrew Schoultz’s ambitious second solo exhibition at the gallery.
    Inspired by the shifting nature of history as record in the past, present, and future, Schoultz’s latest exhibition alludes to the tornado of
    information present today and the assumption that we are able to sift through the detritus to find clarity and meaning. The driving force
    behind this body of work straddles a line of duality between perceived reality and fiction, creating a theatrical tour de force of mixed media
    paintings, drawings, monotypes, and sculpture.
    You are welcome to join us for the opening reception for the artist on Saturday, September 11 beginning at 5:00 pm, with wine generously
    donated by the Heart of Sonoma Valley Winery Association.
    We hope to see you in the gallery soon, but in the meantime...click here for an online preview of the show!
    Andrew_Schoultz
    If you cannot view the above image, please click here
    Warm Regards,
    Marx & Zavattero
    77 Geary St. (@ Grant Ave.), 2nd Floor
    San Francisco, CA 94108
    (415) 627-9111
    www.marxzav.com
    Hours: Tu-Fr 10:30-5:30 Sat 11-5

  • Help with managing RAW and jpeg images and installing iphoto 9

    Greetings: Fist, let me make the neophyte apology and plea - I'm sorry, I should have come here first; I didn't and now I need your help.
    I have just purchased a macbook pro (still in its box) with updated software for my older imac os x. I have a number of Canon related photo editing programs (that came with my 40D digital SLR) and Adobe photo elements 6 for mac on the imac. Following some erroneous advice I have made a complete mess of the pictures folder's content by trying to delete images directly from that folder (there are now 6000+ images in the folder, many of which are duplicates(?). Most of the images are not tagged or labeled and some have been organized in/by iphoto (I corrupted the iphoto's library structure very early on by disrupting and editing its images - which might explain why iphoto had a difficult time 'finding' and displaying some of my photos). The picture folder now holds jpegs, smallRAW images (a Canon 40D photo format) and various duplicates of the orignal images - (some of the duplicates don't display as images, but as jpeg logos, which, when opened contain duplicate image or are completely black) The first time I downloaded RAW images into iphoto 6 the RAW data displayed as a black image. When shooting in smallRAW on the Canon 40D, the camera produces a jpeg image for 'easy viewing and editing in the camera' but it looks as though iphoto 6 made duplicates of the jpeg and the RAW data and stored them in different locals in the picture file. In an attempt to get the number of images down, I have been trying to delete them from the picture folder. (My daughters both download images rather indiscriminately in hopes of 'editing them on the computer' which inevitably does not happen) and there is a lot of experimental bracketing of images - shooting raw and different Camera formats etc., all of which need to be cleaned up before I proceed.
    Sometime in the not-too-distant future I would like to have iphoto 9 running on my imac with a clean library of images and a seamless way of downloading, editing and storing images (including the RAW data).
    The macbook pro is for my highschool-aged daughter, who will run iphoto 9 but not have any RAW image data on her system. She would like to copy some of the old iMac's images to put into her own iPhoto 9 library (probably using a disk, email or on-line photo service - ideally, I would like to be able to copy and remove a number of those images from my HD and give them to her for the macbook)
    A few questions and queries: Can I 'dis-able' iphoto 6, while I delete images (RAW and jpeg) from the picture file? (and is this even a good idea).
    Once I have edited the # of images down to a reasonable size, should I re-launch iphoto 6, rebuild the iphoto library and then update to iphoto 9 or skip v6 and rebuild with v9?
    And now for the 'how stupid is this guy question' - I really had planned to purchase an external backup; but between new the macbook, car repairs and braces it has never come to fruition. So, I have never properly backed up my images. What is the bare-bones, least expensive method for me to do this? I'd even consider burning everything to disks if that works. I can't afford the $ to purchase a new external hard drive right now (really). Budget is set aside mid-November for one though.
    I've been looking through some other discussion boards and it looks like I'm not the only one having RAW image issues. I know that shooting smallRAW with the companion jpeg is probably not helping things but I take my camera equipment on extended canoe trips - and we like the ease of on-the-spot editing with this format.
    Thanks in advance for your help - Mark

    Terence, Is the picture folder the primary source for the images or does that data reside somewhere else?
    If you gathered them there, then yes.
    I really don't want to have to go through 14,000 images looking for the pictures that I want to keep (or is that my only option?).
    Only you can decide what you want to keep.
    Why does the computer keep making copies of the images and filing them under date and events?
    That's how iPhoto works. It's not a problem usually, only you did go in there and make a problem, and now we are trying to fix it.
    You advise not to muck around in the picture file via preview,
    No I don't. I advise not to much around in the iPhoto Library Folder.
    but if I download images through a program other than iPhotos - image capture or adobe aren't I doing that anyway?
    Adobe what? Adobe is a software manufacturer who make many excellent applications, you need to be more precise. And no, if you import photos with Image Capture or “adobe” no you are not interfering with the iPhoto Library Folder.
    Can you edit a base image file somewhere and remove it from the HD without iphoto making a copy of it and storing it somewhere else?
    This is stunningly easy. Don't use iPhoto. Use an image editor.
    I want to look the negatives, decide which ones I want and throw the rest away. Can that be done or am I way off course?
    Yes, and iPhoto (or similar apps) make this really easy.
    Hook up your camera. Import the pics to iPhoto. Go through the imported pics. Trash the ones you don't want. Then process the ones you do. But you must learn how to use iPhoto to do this successfully
    To trash: put the pic in the iPhoto trash and empty it. This removes the file from iPhoto and the Hard Disk.
    Process it: If you want to use another editor: You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • How to get crisp jpeg images for slideshow on a Mac with Final Cut?

    Hi, I imported a large number of jpegs into Final Cut Pro and when I export to Quicktime Movie (not modifying the sequence size or settings I notice the quality of the jpeg images looks rather washed out and a bit fuzzy. The image dimensions of the jpegs are actually 2848 x 4272 and I was originally using a sequence setting of 720 by 480 (which scaled the images to about 12%). I experimented with doubling the sequence setting to 1440 by 960 and scaled the images to about 25.5% - still a bit washed out look.
    Basically this will be a presentation on a computer and output via projection. Looking for best possible and clearest photos. I experimented with iPhoto and when you play a slideshow it looks very crisp - this is what I am aiming for. When I export using the Slideshow export at the largest size 640 by 480 in iPhoto to quicktime - the quality seriously deteriorates.
    What would be the best way to maintain the crispness of the photos in Final Cut for an export to Quicktime that would be show on a Mac via a projector? Thank you

    Hi Nick, I do see information on creating a slideshow with Quicktime at: http://www.apple.com/quicktime/tutorials/slideshow.html
    however it appears Quicktime X removed that capability. There is no 'open image sequence' option from the File menu in Quicktime X.
    If I do end up sticking with Final Cut - would you recommend any codec and/or dimension size that would result in the best quality or the most crisp image? I also need a few fade in's and out's on various parts - I don't believe I would have the control without Final Cut.
    Would resizing the image files in Photoshop to 1920 pixels by 1280 before importing them into Final Cut result in crisper images? Thanks.

Maybe you are looking for