Is there a way to use black-and-white images in a PDF as transparency masks for vector content? I know that I can use  \pgfdeclaremask{maskname}{maskfile} \pgfimage[mask=maskname]{imagefile}   for hard (1-bit) or soft transparency masks, but only with raster images maskfile and imagefile of the same dimension.  If I understand correctly, that is only a requirement of TikZ/PGF, not PDF. At least I'm sure that PDF allows bitmap stencils of different pixel size over other bitmap images (that's what Xerox copiers do for scans to PDF).  However, is there a way to do the equivalent of  \pgfdeclaremask[maskname]{maskfile} \begin{tikzpicture}   \fill[mask=maskname,color=somecolor] (0,0) rectangle (100,100); \end{tikzpicture}   to have the opaque parts of the mask drawn in somecolor, or even a way to mask arbitrary content with an alpha channel taken from a grayscale picture?  In case it matters, I'm currently using LuaLaTeX, but that's not a strict requirement.
38420
I have a graphic in PDF format (originally converted from an SVG) that is monochromatic (black on white). Is it possible using TikZ or PSTricks but not (Illustrator or Inkscape) to include this image in a different color?  Example:    While it lasts (there seems to be no long term way to host a pdf), you can .  Edit: Simple was perhaps a bit of a misnomer - the pdfs are cropped and monochromatic, but to intricate to redraw on my own. The above example is a character from a font (which I can recolor), but it gives a good example of what shapes I am talking about.
41054
I am working with very old model files that have BMP textures. The designers did not use a transparency in the textures or a separate alpha b/w texture. They used a specific color value that was then removed by the engine to create a transparency, similar to a chroma key. In this case, all textures used a bright purple/pink color.   I cannot modifying the original texture images by converting them to PNG and add an alpha. I would like to figure out how to do it all in nodes.  The goal is to have this value keyed out and transparent. I have been messing around in the shader editor and cannot figure this out.  I've also been looking around online and in this forum, but the only search terms I can think of are chroma-keying which only results in Compositing results, which I don't believe is what I'm looking for.  Here is an example of the texture (its very small) and it's context:      Any help or direction would be much appreciated!
117435
I have text that I am trying to turn into a opacity mask, but when I do the image that I am masking turns into grayscale. Any ideas why?
93556
I have requirement of converting PDF pages to images. There is a background image with some text in my file, and when I save it as an image only the background image gets saved. Is there any software available for the same so that complete page can be converted to an image?
82039
I'm trying to make a logo that will be on the header of a website. What I'd like to achieve, and the reason I'm using Blender, is the projected shadows on the background looking perfectly real (as opposed to doing a drop-shadow in Photoshop).  The only thing is, the background has to be transparent because the website might use different background colors / gradients that make it impossible to match with the exported 3D background.  I made this dummy file (not the real logo... duh!):    If I use the file as is, the grey borders of the image will be impossible to match with the website's background color.  Here what I want:    So obviously, I tried masking the plane, which made the shadows disappear. I tried having a plane set to glass, which didn't work either.  And I looked around for a similar question, but didn't find one.   I am not trying to render , or a . I've seen  which has a very difficult solution to this problem, and  that is very similar but in Blender Internal.  is similar too but has never been solved. I'm only a beginner at Compositor, and I'm trying to learn more any chance I get, so any solution in Compositor is welcome if detailed enough. Although if there's a simpler or faster way, it's welcome too!  .blend file:
54322
I changed the background colour of my pdf through:  Document Setup -> changing color under "transparency" (grid color) -> checking "Simulate Colored Paper"  This changes the background in Illustrator as it should. The problem is: if I save the file as a pdf, the background if my pdf is white again :-(  Any idea how to solve this problem? Many thanks in advance!
5886
I added two planes in Cycles with Image Texture in png with some transparency. I covered one by the other but transparency doesn't work, I mean it is impossible to see the one which is under despite transparency in the one which is above. What could be the problem?
89861
I have a pdf with the area of a county that I want to separate into multiple shapefiles (polygons) based on color.   As shown in the first picture there are 4 colors so I would need to separate based on color between those four. But first, I need to convert it into a vector (unless there is an easier way).   Doing so, I get the second image as an output by using the polygonize tool which when zoomed in very close, has a lot of tiny squares where color should be different. I was wondering if there is a way to break a raster up by color even though the image isn't smart.
105672
Is there a simple way to display a color bitmap in grayscale with just HTML/CSS?  It doesn't need to be IE-compatible (and I imagine it won't be) -- if it works in FF3 and/or Sf3, that's good enough for me.  I know I can do it with both SVG and Canvas, but that seems like a lot of work right now.    Is there a truly lazy person's way to do this?
35926
I want to render an image of a fire in cycles, but as a png with a transparent background. Without a transparent background, the output image looks like this:    But as soon as I tick the "Transparent" checkbox under Render->Film, all the semi-transparent parts of the image are not rendered and it looks like this    which is clearly not what I want. I've tried to add a holdout shader or a transparent shader to my smoke domain material nodes, but it didn't help. I've only found answered questions for semi-transparent glass, but none for volumes. My node setup looks like this:    but the transparent shader doesn't do anything.  Has anyone an idea how to fix this?  Thanks  Edit: I've just changed the flow type to "Fire and Smoke" instead of "Fire" and now the semi-transparent parts render too, but I don't want the smoke.
29197
I receive a lot of PDF maps (vector, image, with georeference and without) and I am having to convert them to an image file before I can add them to ArcMap and georeference.    I can't see any obvious out-of-the-box utility that would allow me to add and georeference a PDF directly without having to convert to an image file first.   Any ideas?  I would prefer to add a PDF to map directly without any prior "pdf to image" conversion
92420
I have vector graphic created with Adobe Illustrator CS4 saved as PDF, it looks like:    You can download the PDF .  As you can see, the lines are black.    If I include the PDF with \includegraphics in a beamer document which has a changed foreground color, all lines of my graphic get colored in that color!  \documentclass{beamer} \usepackage{graphicx} \setbeamercolor{normal text}{bg=white,fg=red} \begin{document} \begin{frame} \includegraphics[width=0.5\textwidth]{dummy.pdf} \end{frame} \end{document}     Oh yes, that's unexpected.   What goes wrong? Is that really intended behaviour?  How do I get my lines black again?  If it's a problem related to the graphicx package, I'd prefer a solution by that package. But a beamer workaround would be fine as well. I tried to locally set  \setbeamercolor{normal text}{bg=white,fg=black}   but it does not have any effect. Also I need the foreground color as it is (non-black), just the graphic should be affected by the change.
76231
I'd like to add an invisible watermark to each PDF document that I produce so that in case it leaks, I know where it leaked from. Anyone knows what would a good way for an invisible watermark be in a PDF document and how to add one?
4606
I need to create a "fake" 3D effect for some raster image, like this one below:    do you know how I can achieve this in Photoshop (CS5) or Illustrator? Thanks.
101168
I would like to have a PDF file which I can embed in the foreground of my PDF files which, in turn, will mark analog copies with a visible watermark. Apparently these are called  and some printers can even put them on any page printed - mine can't.  For that, it seems to be the way to go to have two micro-dotted halftone images in which the underlying one has a different frequency then the one that renders the text.  Is there a way, for starters, to generate a postscript file that contains micro dots of a certain size and in a certain distance? I would then import one of them into a vector editor, mask my text and overlay it onto another copy of different halftone frequency, merge the two and add that on top of my to-be-protexted page. Wheew.  In other words, is there a way to LaTeX-programmatically generate a Void Pantograph with adjustable dot-size, dot color and frequency without the above?
15684
I am trying to embed an image with a transparent background in my LaTeX poster. However a quick google search has taught me that it is not possible to do so. However I intend to know any clever workarounds as I believe LaTeX is frequently used for making scientific posters, which require inclusion of transparent images.  Exact problem. I am trying to include a logo (with transparent background) in a textbox with gradient fill. Any method to accomplish this without getting a white (or any other) background is appreciated.  My current work around is the brute force technique of copying the gradient pattern in the background of the image.
40772
I’ve had this happen with more than one image lately.   I open an image in GIMP with the purpose of making the background transparent. The first thing I do is Add Alpha Channel. I proceed to remove the background. Once I’m done with that, I export as PNG. But the background isn’t transparent. I can’t figure out for the life of me why that is. I’ve never had this problem before. The image is in RGB mode. I’m using GIMP 2.8.10. Is there some obvious step I’m missing?