Exporting Illustrator AI to SVG without a white background - adobe-illustrator

I have a Illustrator CS5 AI file that has two shapes in it on a transparent background/artboard. However, when I save this file as a SVG file (1.1) using "Save as", the resulting SVG file has a white background.
How do I get rid of the white background in the SVG file?
The AI file can be found here:
http://hostsafe.com/temp/in.ai
The SVG file that I keep getting can be found here:
http://hostsafe.com/temp/in.svg

Exported svg does not contain white background, it is just another view mode (hidden transparency grid). To show the transparency grid again go to 'View->Show Transparency Grid' or press Shift+Ctrl+D.

Related

PDF Overlay with Solid Colour

I have a pdf with multiple pages (so doing the following manually is not an option).
Each page has text with a bright green strip bordering part of each page.
How can I replace it with a solid color (white preferred) so that it fits the rest of the page?
I tried searching
pdftk overlay white
but I'm still not sure how to create an alpha overlay (so that it will only cover the green part, but not the text).
Note: The green strip is at the same position for each page.
I also tried overlaying a white pdf page (created by exporting blank page as PDF from LibreOffice's menu) on top of the one with the strip, but the whole page turns white! (The original page is below the overlay)
How can I make the exported PDF completely transparent, except where I want it to be white?
Turns out we need to turn an image (with alpha channel) into a PDF first.
convert image.png image.pdf
Then stamp image.pdf onto the original pdf
pdftk original.pdf stamp image.pdf output output.pdf

Put an image with transparent background into a pdf using Libharu

I have to put an image (.png) into a pdf file using LibHaru. The image has a transparent background due to which it looks quite awkward (black background) into the pdf file.
How can I put this image (with transparent background) properly using C++ LibHaru?
You need to split your PNG file into two images: one for color pixels and another one for opacity values. Then you need to add the color image into PDF with specifying the second as SMASK property.
See 4.8.4 Image Dictionaries in PDF specification for more details.
You can use HPDF_Image_AddSMask method for this.

Half-transparent elements in the Adobe Illustrator have a black outlines

I'm new in Adobe Illustrator and I just need to extract one element from EPS-file.
So it's the light. And as you see in the attached file, I can't save it clean.
I mean, when it has a some background, it looks good.
But when I remove this background and trying to save the clean light as PNG image this is what happenes.
Here's the demonstration
How can I fix it?
It appears to me as if you need to select that image in illustrator then open your align pallet and select the option "align to artboard" then click the vertical align button then the horizontal align button. Then go ahead and try saving your file. It should take care of the problem.

Photoshop Save for web does'nt retain transparency

I have been trying to save for web from a psd file, The .PNG file that I get has no transparency and instead all transparent area is filled with white.
I am beginner in Photoshop, How can I accomplish this task?
Normally if you are doing save for web in png 8 format it will take white color instead of transparency to avoid this white color You have to do save for web as png 24 format then u will get transparency without white color
The Problem got Solved, the App/program i was using had some problem and was not showing the background to be transparent, have tried it on another program and its OK
Thanks to Anthony who helped alot.

Remove white background from an image

I want to get a transparent background or no background for my images. I tried the '-background none' option and also the 'transparent' option, but the background image remains white. How can I achieve this?
Please suggest.
If you are using Imagemagik then the command is:
convert input.gif -transparent white output.gif
However, it will only work with a pure white background and not a shade of white.
There are alternative and easier ways to do this with IrfanView or The Gimp or Photoshop (more on that below).
This article mentions that you may be using convert.exe that comes with Windows rather than ImageMagicks Convert.exe in which case you should use the full path for Convert.exe.
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=10665
If you are trying to achieve this from CSS then you misunderstand the CSS property.
The css property 'background' refers to an html elements background color. I.e. <p> <div> <body> whatever.
more here http://www.w3schools.com/css/css_background.asp
If you are referring to the image opacity property, that refers to how "see-through" an image should be. more here:
http://www.w3schools.com/Css/css_image_transparency.asp
The only way to get a transparent background in an image is to make the background of the image transparent using either the PNG (preferred) or GIF formats. For this you can use IrfanView and save a picture as PNG, select the "save transparency" property and select the color from the image you want to be transparent or you can use Photoshop or The Gimp do the same. Example for IrfanView here http://llizard.etherwork.net/cwc/transp_irfanview.html
The Gimp example here http://aplawrence.com/Linux/crousegif.html
whats the format of your images? Try using png format