Copy link to clipboard
Copied
Hi,
I am very new to Adobe. I have asked a customer to send me images in png format. But they sent me in .png.css format. When I click on the file it opens up in Dreamweaver with CSS code displayed. Is there any way I can convert to a png image?
Thanks in advance.
Ryan
CSS (even if called xyz.png.css) is completly differen from an image (PNG, TIFF, JPEG, ...).
So the correct answer to the initial question is: No, there is no way to convert.
The reason is: A CSS file is no image file but a text file that is intended to be interpreted by browsers.
The really only possibility for getting a PNG file in your case is to ask again for a PNG file. If they do not have the picture as PNG file format, they may send a Photoshop file (.PSD), a TIFF file (.TIF or .TIFF), a JP
...Copy link to clipboard
Copied
It may or may not be a .png. You can’t convert css to a png, so either it’s css (cascading style sheet) or it’s an image (png).
Is the code you are seeing for style info? (Post a screen shot if you are not sure.)
If not, ask for a new file that is really a png and an image file.
Copy link to clipboard
Copied
Did your customer use Photoshop to Extract their PSD image to a Dreamweaver web page? I ask because PNG is the output option for images. And Extract creates a CSS stylesheet file for use on the web. This could all be very confusing for someone who is not well trained in the use of Photoshop & Dreamweaver for creating web pages. See link below.
How to extract assets from PSD files into Dreamweaver web pages
Copy link to clipboard
Copied
Yep, those are two wildly different things. Sounds like they may have tried to grab the image out of the code from a website instead of just sending the clean image files. They will most likely need to send you different files, but you could try to just edit the image naming. Try to rename it, removing the .css from it. It may work, and it won’t hurt anything since the files are useless at the moment anyway.
Copy link to clipboard
Copied
If clicking the file opens it in Dreamweaver, it's a CSS file.
Copy link to clipboard
Copied
Moving this query to Photoshop community.
Copy link to clipboard
Copied
CSS is a text format for styling web pages. It is not an image.
You'll need to get the actual png image file.
Copy link to clipboard
Copied
CSS (even if called xyz.png.css) is completly differen from an image (PNG, TIFF, JPEG, ...).
So the correct answer to the initial question is: No, there is no way to convert.
The reason is: A CSS file is no image file but a text file that is intended to be interpreted by browsers.
The really only possibility for getting a PNG file in your case is to ask again for a PNG file. If they do not have the picture as PNG file format, they may send a Photoshop file (.PSD), a TIFF file (.TIF or .TIFF), a JPEG file (.JPG) or even a GIF file or BMP file.