iText7 - Set pdflayer color to black - colors

I am working in a company that has a Engineering section. As one of the draftsmen I am asked if it's possible to edit the drawing pdf file so that only revision clouds have color red. All other items on the pdf should be black.
A exported pdf contains layers. The revision clouds have their own layer.
Is it possible to loop the layers and make them black?
I already checked the API but, can't find a direct answer here.
https://api.itextpdf.com/iText7/dotnet/7.1.8/classi_text_1_1_kernel_1_1_pdf_1_1_layer_1_1_pdf_layer.html
If someone could point me in the right direction that would be great. I already have some experience in iText7 for processing pdfannotations, but I am failing to see the logic here.

Related

Imported SVG Has Wrong Background

Problem
I am importing an SVG file into my Figma design file. The asset originally has a transparent background. After importing it into Figma, the background becomes black. I've used the asset elsewhere and I know it's transparent. I've searched the Figma help center, forums, and Stack Overflow, and cannot find any relevant information. I must be doing something wrong.
Background
I use Canva to create a lot of small, individual assets (like marketing assets and web assets). I created a design and exported it as an SVG (as I've done countless times). The asset in question is a graphic to be used in a hero section and it has a transparent background. I've already been using it in my actual code project and it looks as expected (the background is transparent.
However, I've been trying to use Figma to design my site, and I imported the asset so I could design my hero section. It imported almost everything correctly except the final layer. It imported the base layer by creating a rectangle item with its fill property as the base layer converted to an image.
This has caused to issues:
It's now pixelated, which defeats the whole purpose of using an SVG, and
The background is no longer transparent. It's no black.
What am I doing wrong?
Context
Here are some screenshots to provide context. The first screenshot shows the SVG viewed in VS Code and the second viewed in the browser. These demonstrate that the original asset does in fact have a transparent background. The second two show how it looks in the Figma editor.
If the fill is not specific it might turn the object background into black color. Try to set the fill:none.

Exporting Illustrator to SVG, Colours, Gradients and Opacity wrongly displayed

I'm having trouble creating an SVG (for web use) from an illustrator file sent by the design agency. The SVG exported doesn't look like the same, specially because the affected areas are suppose to look like shadowed areas of human characters. The art created is quite complex and I'm not authorised to show it, but I'm just putting here one of the elements that replicates the issue.
original .ai file + exported .svg in this zip: http://we.tl/AdJPqFqQd1
I've also saved it in .eps and tried exporting, but it didn't make a difference
I'm looking for a solution that wouldn't be too hurtful considering that there are many elements in the original artwork like this shape and most of them have different colours and shapes.
I tried to access the CSS within the SVG but I couldn't manage to change the gradient.
Using Illustrator CC 2015 I've tried exporting with all the different options (unless I missed some special combination, which I do not believe)
Hopefully and with a lot of luck, I would like to find someone who came across this problem before and knows how to deal with it. If you could try it yourself, you would be aware of this issue and I would appreciate it very much. Thanks

Image map with links to other tabs

I Have an image for a homepage screen. The top part of the image when clicked should lead to the second tab, the left hand side of the image when clicked goes to the third tab and so on.
Basically geotagging an image , so that i can make areas of the image clickable leading to different tabs
I tried implementing using a map chart where i added an image layer, and added this image. Some solutions asked me to add a marker layer with x,y coordinates but I'm unsure on how to proceed on my image
Kindly help with any alternative solution
it sounds like you want an image map. "geo tagging" is when geographic info like latitude and longitude are added to an image.
your best bet is to use a text area with a table filled with image-type action controls. if you have Photoshop, you can use a technique called Image Slicing to prepare your images.
FYI, this is probably not a simple task, especially if you don't know much about HTML. you may want to consider a different navigation scheme.
if you update your question with more detail about the end result you are trying to achieve, maybe someone can share a more fitting solution. http://mywiki.wooledge.org/XyProblem

last state Animated Gif designed for html email in Fireworks cs5 fails in some clients

This is my second question, and I’m hoping to resolve an issue that I haven’t found addressed, though I did search for an answer.
Links and screenshots to problem are below. Using Fireworks CS5, I have created an animated gif consisting of 3 states that loops 3 times. It is built on layers, with the 3 states sharing only a background border. They do not share the background (the background is grouped layer consisting of a red box with a clipping path of white, which seems to work in the first two states, but fails in the third state) itself, or any other element.
It is a tile ad for an html e-newsletter, and it works on some clients (gmail, for instance), but the final state does not render properly in other clients (mac mail, for instance). To add to the issue, the same file was rendering correctly in Mac Mail earlier. The gif works if I open it in a browser (usually), as well.
I thought that animated gifs were very stable across platforms except for problems with looping in Outlook 2007 and I've never had this issue before (granted my experience is limited). Has anyone else had this experience? Does anyone have advice on this issue?
Many thanks,
Andrew.
Link to the good. This is the animated gif file. It may not work in all browsers (I did test the file thoroughly, but the weird issue just seems completely sporadic), but renders correctly in latest Firefox for Mac OS 10.7x.
Link to the bad. The third state is see-through, the background layer is not rendering.
Turn Off the Alpha Transparency in the optimization panel. After carefully examining each state, I realized that I had Alpha Transparency turned ON in the export. Even though each state had a solid red back ground, and even though the other states correctly rendered the solid red background, the Alpha Transparency was messing up the last state of the animation. To correct it, I simply turned OFF the Alpha Transparency. I don't know why I didn't think about that as the solution before. I hope this answer helps someone!

Stop dimming / color change of overlapping placemarks on Google Earth

I'm using Google Earth to display point data as placemarks. The data is on a color-coded scale, and so it's pretty important that they keep their colors (which are set via a series of differently colored icons)
However, Google Earth seems to have a 'feature' whereby it dims some placemarks if they overlap. I can find no reference to this feature, nor any way to avoid it, turn it off, using KML or otherwise.
The question was originally asked here:
https://groups.google.com/a/googleproductforums.com/forum/#!topic/earth/DTl6yGLvPvw
Where there are also screenshots of the problem.
Thanks!

Resources