Making a transparent image
Hi Everyone,
I created a text in Photoshop cs and am trying to superimpose that over a video in FCE 4, how can I make the text background transparent so I don't have to mess with key adjustments in FCE 4?
Thank you
Hi(Bonjour)!
Start from a new document in Photoshop with a transparent background.
Design your title and save in PNG image format (interlaced or not).
This specific format preserve transparency.
Michel Boissonneault
Similar Messages
-
Changing fill colour for partly transparent images
Does anyone know how to change the fill colour used for partly transparent images? I have a bunch of PNGs that I made for use as clip art, which I imported into iPhoto (that way I can use the media browser with Pages and Keynote).
Unfortunately, the images (which are black) are shown on top of a black rectangle both in iPhoto and the media browser. I've tried changing the background colour to both gray and black, but the 'fill' colour stays black.There's no way to change it if you want to keep the transparency for use in other applications or web pages.
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 been reading a number of posts, but yet to find a clear answer to my problem.
My ultimate goal is to have an image and a graph, one overlayed on top of the other (whether it is a transparent picture on a graph, or vice versa, it doesn't matter). I just want to have both images roughly 50% transparent. Imagine a gps image with a topography intensity map laid over the top... that's what I'm going for.
From my experience so far, I've found that the transparency levels of the 3D controllers are unchangeable. Although the transparency levels of the intensity & (x,y) graph shells are changeable, I haven't been able to change the transparency of the graph that it projects. On the other hand, I've been able to make an image compltetely transparent, but not partially. I realize that I might be able to import a partially transparent image into LabVIEW and work from their, but the program that I'm making now, will only deal with unaltered images (aka, not pre-transparent images).
If anyone has any ideas, that'd be great.Thanks for the quick and complete response. I think I understand what you're trying to do, but unfortunately I'm not getting the program to function properly. The image that is generated is a blank. One of the things I wasn't sure of, was the slider. Is that just supposed to change the color intensity of the image? Another question... which might be a very obvious one, but where is the 'new picture' function? I've been looking through the function menu and have been unable to locate it.
Hopefully I can try and figure the rest of this program out. I attached a sample program that i found in the forums that is helping me get a little closer (this one puts an image behind/in front/ or in between a graph). I'm still not convinced that this program will work with an intensity graph, but I'm going to give it a try.
Thanks again.
Attachments:
image overlay.vi 43 KB -
Glass effect - semi transparent image
Has anyone seen any tutorials or know how to make an image, say a rectangular image, into a coloured glass effect, semi transparent image.
I tend to use images as navigation links in sites and am looking at ways to jazz up the look.
I have had some helpful suggestions on making glass buttons but I'm not getting the hang of doing this with images.
Thank you.Has anyone seen any tutorials or know how to make an image, say a rectangular image, into a coloured glass effect, semi transparent image.
I tend to use images as navigation links in sites and am looking at ways to jazz up the look.
I have had some helpful suggestions on making glass buttons but I'm not getting the hang of doing this with images.
Thank you. -
How to make transparant images with more then 8 bit color?
Hi,
I know that one can use *.gif images in order to make a transparent image. But *.gif images have only 8 bit color depth. Is there a way to display for example *.bmp images and making one color transparent? Or by using a mask like in C++?
thanx in advanceUse the PNG format for your images. It supports a color depth of 24 bits/pixel as well as 8 bits/pixel and got an alpha layer so you can have transparent and semi-transparent areas in your image.
You can load PNG images in Java as easily as you do with GIF and JPG images. -
Create transparency image from shape
Hi,
I'd like to create the application that create the transparency image from drawing data. the code is as follows.
BufferedImage img = new BufferedImage(350,350,BufferedImage.TYPE_INT_RGB);
Graphics2D g2 = img.createGraphics();
GeneralPath gp = new GeneralPath(GeneralPath.WIND_NON_ZERO);
gp.moveTo(100,100); gp.lineTo(100,200);
gp.lineTo(200,200); gp.lineTo(200,100); gp.closePath();
g2.setPaint(Color.yellow);
g2.fill(gp);
g2.setStroke(new BasicStroke(2));
g2.setPaint(Color.red);
g2.draw(gp);
File outFile = new File("outimg.png");
ImageIO.write(img,"png",outFile);
I can create the image from such code, but the image is not transparent since the background is all black. What additional coding I need to make it transparent?
Thanks,
Sanphet1. use a PixelGrabber to convert the image into a pixel array
2. (assuming pixel array called pixelArray) :
if (pixelArray[loopCounter] == 0xFFFFFFFF) { //assuming the black your seeing is not a fully transparent surface
pixelArray[loopCounter] = pixelArray[loopCounter] & 0x00FFFFFF; //sets alpha channel for all black area to 0, thus making it fully transparent
}3. recreate an Image using MemoryImageSource
I'm sure there is a quicker solution using some built in java functions...but hey, I dont' know it!! :)
Here's a sample class that utilizes these techniques:
* To start the process, click on the window
* Restriction (next version upgrade) :
* - firstImage must be larger
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.swing.*;
public class AdditiveBlendingTest extends javax.swing.JFrame implements MouseListener, ActionListener, WindowListener {
static final int ALPHA = 0xFF000000; // alpha mask
static final int MASK7Bit = 0xFEFEFF; // mask for additive/subtractive shading
static final int ZERO_ALPHA = 0x00FFFFFF; //zero's alpha channel, i.e. fully transparent
private Image firstImage, secondImage, finalImage; //2 loades image + painted blended image
private int firstImageWidth, firstImageHeight, secondImageWidth, secondImageHeight;
private int xInsets, yInsets; //insets of JFrame
//cliping area of drawing, and size of JFrame
private int clipX = 400;
private int clipY = 400;
//arrays representing 2 loades image + painted blended image
private int[] firstImageArray;
private int [] secondImageArray;
private int [] finalImageArray;
//system timer, used to cause repaints
private Timer mainTimer;
//used for double buffering and drawing the components
private Graphics imageGraphicalSurface;
private Image doubleBufferImage;
public AdditiveBlendingTest() {
firstImage = Toolkit.getDefaultToolkit().getImage("Image1.jpg");
secondImage = Toolkit.getDefaultToolkit().getImage("Image2.gif");
//used to load image, MediaTracker process will not complete till the image is fully loaded
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(firstImage,1);
try {
if(!tracker.waitForID(1,10000)) {
System.out.println("Image1.jpg Load error");
System.exit(1);
} catch (InterruptedException e) {
System.out.println(e);
tracker = new MediaTracker(this);
tracker.addImage(secondImage,1);
try {
if(!tracker.waitForID(1,10000)) {
System.out.println("Image2.gif Load error");
System.exit(1);
} catch (InterruptedException e) {
System.out.println(e);
//calculate dimensions
secondImageWidth = secondImage.getWidth(this);
secondImageHeight = secondImage.getHeight(this);
firstImageWidth = firstImage.getWidth(this);
firstImageHeight = firstImage.getHeight(this);
//creates image arrays
firstImageArray = new int[firstImageWidth * firstImageHeight];
secondImageArray = new int[secondImageWidth * secondImageHeight];
//embeded if statements will be fully implemented in next version
finalImageArray = new int[((secondImageWidth >= firstImageWidth) ? secondImageWidth : firstImageWidth) *
((secondImageHeight >= firstImageHeight) ? secondImageHeight : firstImageHeight)];
//PixelGrabber is used to created an integer array from an image, the values of each element of the array
//represent an individual pixel. FORMAT = 0xFFFFFFFF, with the channels (FROM MSB) Alpha, Red, Green, Blue
//each taking up 8 bits (i.e. 256 possible values for each)
try {
PixelGrabber pgObj = new PixelGrabber(firstImage,0,0,firstImageWidth,firstImageHeight,firstImageArray,0,firstImageWidth);
if(pgObj.grabPixels() && ((pgObj.getStatus() & ImageObserver.ALLBITS) != 0)){
} catch (InterruptedException e) {
System.out.println(e);
try {
PixelGrabber pgObj = new PixelGrabber(secondImage,0,0,secondImageWidth,secondImageHeight,secondImageArray,0,secondImageWidth);
if (pgObj.grabPixels() && ((pgObj.getStatus() & ImageObserver.ALLBITS) !=0)) {
} catch (InterruptedException e) {
System.out.println(e);
//adds the first images' values to the final painted image. This is the only time the first image is involved
//with the blend
for(int cnt = 0,large = 0; cnt < (secondImageWidth*secondImageHeight);cnt++, large++){
if (cnt % 300 == 0 && cnt !=0){
large += (firstImageWidth - secondImageWidth);
finalImageArray[cnt] = AdditiveBlendingTest.ALPHA + (AdditiveBlendingTest.ZERO_ALPHA & firstImageArray[large]) ;
//final initializing
this.setSize(clipX,clipY);
this.enable();
this.setVisible(true);
yInsets = this.getInsets().top;
xInsets = this.getInsets().left;
this.addMouseListener(this);
this.addWindowListener(this);
doubleBufferImage = createImage(firstImageWidth,firstImageHeight);
imageGraphicalSurface = doubleBufferImage.getGraphics();
public void mouseEntered(MouseEvent e) {}
public void mouseExited(MouseEvent e) {}
public void mousePressed(MouseEvent e) {}
public void mouseReleased(MouseEvent e) {}
public void windowActivated (WindowEvent e) {}
public void windowDeiconified (WindowEvent e) {}
public void windowIconified (WindowEvent e) {}
public void windowDeactivated (WindowEvent e) {}
public void windowOpened (WindowEvent e) {}
public void windowClosed (WindowEvent e) {}
//when "x" in right hand corner clicked
public void windowClosing(WindowEvent e) {
System.exit(0);
//used to progress the animation sequence (fires every 50 ms)
public void actionPerformed (ActionEvent e ) {
blend();
repaint();
//begins animation process and set's up timer to continue
public void mouseClicked(MouseEvent e) {
blend();
mainTimer = new Timer(50,this);
mainTimer.start();
repaint();
* workhorse of application, does the additive blending
private void blend () {
int pixel;
int overflow;
for (int cnt = 0,large = 0; cnt < (secondImageWidth*secondImageHeight);cnt++, large++) {
if (cnt % 300 == 0 && cnt !=0){
large += (firstImageWidth - secondImageWidth);
//algorithm for blending was created by another user, will give reference when I find
pixel = ( secondImageArray[cnt] & MASK7Bit ) + ( finalImageArray[cnt] & MASK7Bit );
overflow = pixel & 0x1010100;
overflow -= overflow >> 8;
finalImageArray[cnt] = AdditiveBlendingTest.ALPHA|overflow|pixel ;
//creates Image to be drawn to the screen
finalImage = createImage(new MemoryImageSource(secondImageWidth, secondImageHeight, finalImageArray,
0, secondImageWidth));
//update overidden to eliminate the clearscreen call. Speeds up overall paint process
public void update(Graphics g) {
paint(imageGraphicalSurface);
g.drawImage(doubleBufferImage,xInsets,yInsets,this);
g.dispose();
//only begins painting blended image after it is created (to prevent NullPointer)
public void paint(Graphics g) {
if (finalImage == null){
//setClip call not required, just added to facilitate future changes
g.setClip(0,0,clipX,clipY);
g.drawImage(firstImage,0,0,this);
g.drawImage(secondImage,0,0,this);
} else {
g.setClip(0,0,clipX,clipY);
g.drawImage(finalImage,0,0,this);
public static void main( String[] args ) {
AdditiveBlendingTest additiveAnimation = new AdditiveBlendingTest();
additiveAnimation.setVisible(true);
additiveAnimation.repaint(); -
How to create transparent image at run-time?
How to create transparent image at run-time? I mean I want to create a (new) transparent image1, then show other (loaded) transparent image2 to image1, then show image1 to a DC. The problem is - image1 has non-transparent background...
i'm not sure, but you can set the alpha value to 0 in all pixels which are 'in' the background..
greetz
chris -
Hi all,
Please can you help? No matter what settings I use in my print options in InDesign CC 2014 (v.10), ALL transparent images with a drop shadow are printing with a white box behind the image. If I remove the drop shadow, all prints fine. I know this is an old issue that happens with ID sometimes but I have been lucky enough to never have had it happen to me before! (All images are regular flattened TIFF images with clipping paths).
Also, feathered edges are not printing correctly and are sharp instead of feathered.
When I export the document to IDML and open it up in InDesign CC (v.9) all prints perfectly with no white boxes and feathered edges prints perfectly as well. I have compared all of the print settings (including color management, transparency flattener, etc.) between both versions and they are exactly the same. I am printing to a Xerox color laser printer. Can anyone offer any advice?
Thank you so much,
ChristineOkay...false alarm! It turns out that the issue was with my PRINTER settings (the settings you customize after hitting the “Printer” button at the bottom of the Print dialogue box in ID CC. I thought I had triple checked this but it seems there was one setting I missed earlier…adjusting the print brightness seemed to cause the issue. SO GLAD to know it was not InDesign…20 or so sheets/prints later….and thankful to know what was causing the issue! Thank you so much Steve for helping at any rate:) Much appreciated:)
-
Colors shift when a PDF file contains transparent image
Hello,
I tried to programatically set a soft mask to an image by using the Addobe PDF Library, in order to make part of the image transparent. The image color space is RGB. I used PDEImageSetSMask() funtcion for setting the mask. I also have a PDF file that was created in the same way but without the part of the code that sets the mask. Therefore this PDF contains the same image as not transparent.
When I open two files in Adobe Reader 9.2.0 the colors are not the same. The colors in the file which contains the transparent image are a bit darker. The colors are different not only inside the image box, but in all page area. I also tried to open the same file in GSView and there was no such problem.
Can I fix this by changing the Adobe reader preferences, or this is a problem in the code that genereates the PDF?
If this is not the correct forum to ask this question, please direct me to the correct forum
ThanksYou need to set the transparency blending space of the page to RGB, since the default blending space is CMYK (hence the color shift). You do this by adding a transparency group dictionary to the page's dictionary when creating the PDF.
-
Importing transparent images into Indesign
Hi guys,
Just started using Indesign cs6 and for the life of me can not work out how to import transparent pngs. All transparent images I import have their background changed to a white background. The image import options has an option to use transparency information, with either use white back ground (which is selected) or use file defined background colour.
I assume i should be using file defined background colour but its greyed out. Why is this option greyed out and how can I retain a transparent bg in my image? The image i'm importing is fireworks png file.
Cheers,
Ps. First post, so go easy on meI don't have Fireworks and I haven't made any Fireworks PNG files.
I'm not sure how they work. But I believe that Fireworks PNGs can contain editable layers for Fireworks use only.
This may be part of the issue of the transparent background - but as I say I have very limited knowledge of Fireworks.
What I will say with some degree of comfort is that PNG is primarily a web format - and it's not a print format. Adobe InDesign is a page layout tool intended for Print on mechanical presses - and it's only recently it's been geared towards Web, ePub and Flash creation.
Perhaps the Fireworks PNG simply does not work with InDesign.
Can you save that Fireworks PNG from Fireworks to say a TIF of PSD? Which may be better for importing to InDesign.
The only other solution I can think of is to open that PNG file in Photoshop and save it as a Transparent PNG from there using File>Save for Web -
InDesign PDF transparent images not printing right background color.
problem with exporting an InDesign Document to a PDF and printing. My transparent images are showing up with a darker background than what they are placed on. Know how to help?
Thanks everyone! That really helped.
There were a few other things that I had to make sure of also.
Solution:
Images placed in InDesign that were made in Photoshop or another program should be in ckmy format. The background needs to be in the same ckmy. Transparency blend must be set at CKMY, then Transparency Flattener presents must be set at Rasters/Vectors: 0 Line art and text resolution: 600, Gradient and mesh resoltuion 300. Exporting to PDF must be done under present PDF/X-4:2008 Compatibility: Acbrobat 7. -
Problem: importing a transparent image from Photoshop to Premiere.
Dear Adobe community,
I am trying to import a transparent image from Photoshop to Premiere Pro CC. Whatever file format I choose to export from Photoshop, Premiere Pro CC will not import the file correctly. When I import is, two things occur: 1) the image gets imported, but the white background is still there or 2) the image gets an error "The importer reported a generic error".
Does anyone have an idea how I can get an image with a white background transparent into Premiere Pro CC.
Specs:
MacBook Pro (Retina, 13-inch, eind 2013)
2.8 GHz Intel Core i7
16GB RAM
1536MB Intel Iris videocard
Thanks!
ChristiaanYou need to make sure the image has an alpha channel.
Images like jpeg dont have an alpha channel.
Psd or png do and the image has to be RGB.
Make sure the background in PS is also transparant. -
Display a transparent image in JPanel
i just start using Java Graphics Programming fews month ago. there's some problem i facing recently. i doing a simple gif file viewer. first i get the file using the Toolkit and put it in a Image object and use the Gif Decoder to decoded each frame of the Gif File to BufferedImage object and display each of the frame in a JPanel inside a JFrame.My porblem is :-
How to display a transparent image in JPanel? my image source in BufferedImage and how to i know the image is transparent or not?I simply use ImageIcon object to display the image (*.gif,*.jpg)
JLabel l=new JLabel(new ImageIcon("file path"));
add the label to a panel or frame or dialog
this object no need to use the ImageBuffered Object
It can display any animate gif whether the background is transparent or not. -
Transparant image printing with white backgroud in postscript file
Hi,
I am new to Livecycle ES, It would be grateful if some one answer my question.
I want to place signature image to the form. Dinamically the signature will be changes. and if i print the postscript file, the signature is printing with white background (even it is transparant image - .gif).
Steps i follow,
1) Set the field propertly as 'Image Field' in form and declared field name as 'SIGN_SIGN1'.
2) Populate signature image as encoded value to the XML stream - <SIGN_SIGN1>-----Base64 encoded string of file PICCHI.(BMP/JPG/…)----</SIGN_SIGN1>
3) Render the form with XDP and XML data.
I don't get the white background of an image to the PDF output. I am facing problem in Postscript (PS).
Pls help me.
Regards,
SasiHi paul,
I have issues in postscript file, the signature image is printing with white background and hiding the backdrop. I don't have issue in PDF output, it is printing with transparant image and it is not hiding the backdrop.
Regards,
Sasi -
HELP - Export Transparent Image in CS3
There used to be a very useful function in CS2 under Help which was Export Transparent Image. What happened to that function in CS3 and how the hell do I export transparent image now in CS3?
Please help, this is quite urgent.
Thanks.I hear what you are saying Noel... But I came to these forums in good faith with a question about a tool I found useful that was no longer available. I admit I let my frustration show in my first several postings about this because in the other topic on this issue, one of the staffers here even tried to say the function did not even exist. That in combination with the attitude that 'anyone that would use this function must have no experience' or should be using Photoshop Elements did not strike me as either very helpful or polite. I would never let one of my staff treat a customer who came to us seeking help to act this way. It is inexcusable and I saw from the other postings that I am not the only one who feels this way.
Here is a selction of a few of the things she said to me... she seems to have confused me with someone else?
"Dear same idiot who feels the need to use PM to continue an ended/locked/deleted forum discussion,"
"There is no point in continual messaging unless you feel it is some sort of release for your mental condition. Your message is clear. I have no problem comprehending your words. I simply disagree with your insane beliefs. I understand fully who used the function and why it was removed. I was simply stating a fact and offering an alternative that you seemed to ignore. I don't care if the function meant something more to you. Nothing I can do is going to bring it back or afford you any better people skills. You need to get over this... and get over me"
"I just found the Google cache of the closed thread and realized that you may not be the same idiot that contacted me earlier using a fresh forum account. But that still does not make you any less of an idiot."
"The question posed in the forum was "How do I export transparent images in CS5 like I did in CS4?" The question was "viable" and answers were given by others and myself. Just because you do not like an answer does not mean you have to act like a child."
"The answer was not to beg Adobe to bring it back in a user to user forum. If you want to communicate with Adobe, go to their feature request form."
"If you were a designer for 30 years, you would have known how to make a transparent file prior to the Help function that Adobe added for a few versions. With that Help function gone, you should now have the intelligence to craft an action to do the same thing with the press of a button. It is not really a challenge. If you need assistance, bring this topic back to the public forum. Your rude PMs are worthless to us both."
"I look forward to further discussion in the public forum where you don't need to hide your personal problems in PMs."
I find these kind of responses by a staff member of Adobe forums to abusive in nature. Granted after getting this kind of rude response back to my questions, I returned in like kind. I usually do not have these kinds of interactions online, I find them childish and a waste of time. They do nothing for the greater good of the forums and help no one. but I don't take kindly to being treated with disrespect.
I hope this does not exemplify the tenor of communication here on Adobe's forums. If so... it would be a shame, because Adobe has a great reputation in our community. It would be a shame to let a few individuals tarnish it.
I for one would prefer that the person is question has no further communication with me. I think that would be best for all concerned. Thank You.
Maybe you are looking for
-
Hello Team: We have enabled work flow notification mailer service in our EBS system. Last week I restarted the services ( ALL Tiers ) and as soon as I did the restart. The business users started to receive Notification mailers. Apparently a bunch of
-
How To Generate Debug Log Files for ebs jsp?
hi How To Generate Debug Log Files for ebs r12 jsp? and where i get the log .please help me thanks!
-
Best way of making filter in report!
I have a report! And I need make some filter tool! What is the best way to do this? Is there any APEX tools to do this? Regards, Kostya
-
Why do my captions not appear in my image project?
Why do my captions not appear in my image project? Is there a command to turn them on?
-
Oracle parsing SQL with Hibernate
Hi, I build an J2EE application using framework Hibernate. After auditing DBA on any scenario from my soft, I note all request SQL executed are parsed. Same request, using "bind variable", so identical, is parse as many time it execute (ratio 1/1)...