illustrator object scaling issue - vector

I'm having an issue with a certain object, when I scale it down - anchor points appear to be moving about - and the logo (object) becomes distorted.
Please see attachment. You will see that the letters 'n' and 'a' are distorted. It's driving me crazy, any help would be much appreciated.

I've fixed this!
I saved the object as a SVG, then copied the SVG file over to the file that I wanted to use the logo on! Job done. Kind of impressed with myself too.

Related

5 col layout image gallery - when image is zooomed part of it is "under" another image

I have a 5 column responsive layout for a gallery page. I did not code it myself, having found the code for exactly what I wanted somewhere on line. My coding skills and understanding of CSS positioning are evolving, to put it nicely.
It works well until I zoom an image. The image zooms properly, but the right edge is showing as "under" the image to the zoomed image's right.
Looking for the answer I found that the container must have a relative position and the image to have an absolute position for z-factor to work (or so I understood what I read). When I set the image position to absolute, each image takes up the entire screen. I tried a "clear:both" on the hover property to no avail.
The problem exists in any screen width from 550px up - below that the display is single column.
Both the code and the on-page css is valid. Link is http://www.artfromny.com/gallery2.html
Any help appreciated; prefer no java solutions since I barely understand the basic concept of it.
Thanks in advance to all of you who spend so much time helping others get the hang of coding. The last language that I truly understood and used properly was dBase iii so I am kind of struggling here :)
Art

How do I import SVG to Illustrator with CSS without errors?

I have created 20 webpages full of charts for a client. They want to print them as part of a publication so I am needing to turn SVG into EPS.
I've imported a large d3-generated SVG into Illustrator. The CSS is inline so most of the formatting has come through (thanks to this answer: Can I turn SVG and external CSS into EPS?). However there are two problems. One is that three out of four x-axes are replaced by a thick black line. The other is that some of the data (three lines on the bottom right chart) are completely missing. Does anyone have any clues as to what is wrong?
I have looked through the CSS in the hope of finding something that favours one particular axis or tick but can't see anything. I can't share the SVG or page because it's driven by client data, which is confidential.
Grateful for any help
Emma
Original SVG:
New Illustrator EPS:
In case anyone else has the same problem, I thought I'd post how I worked this out. The problem was CSS-related. Illustrator renders CSS differently, and applies slightly different rules to my text editor. In particular:
class names containing underscores are ignored;
font-size using vw are ignored;
where two opposing CSS rules apply, it seems the first rule is taken (haven't tested this properly)
CDATA declarations have to be within the svg tags
Sometimes the path to the element has to be spelled out far more clearly than a browser would require
A bit late to the party but I noticed such artifacts as well with Illustrator. If you open the SVG in any other browser it works fine. My solution was to use InkScape and then re-save the SVG files. After this Illustrator handles the SVG well.
This isn't exactly an answer to your question, but if you're only looking for an image that's of a high enough resolution to print, and don't necessarily care about it being vector vs. raster graphics, you can always use a high-resolution screen (if you have a 4K/5K screen laying around, use that, but an iPad may do the trick too), zoom in so that each SVG chart takes up as much of the screen as possible, then take a screenshot. If you're doing an extremely large high-quality print of just the chart, it may not work, but as long as it's a smaller piece of a larger document, you'll likely get a large enough image that it being raster graphics won't affect the quality of the printing.
This approach certainly has its disadvantages, but it's relatively quick, simple, and gets the job done.
EDIT: It looks like printing to a PDF will also preserve SVG graphics, and (at least on my computer) there doesn't appear to be any differences between the two images. Once it's in PDF, you'll be able to import into Illustrator pretty easily, and extract the actual SVG graphics from there.

SVG background image with raster parts

I'm having a strange problem with using an SVG as a background image. Basically I have an image with mostly vector sprites on it with the exception of a couple of raster parts.
The problem is that in Safari (seems fine everywhere else) the raster parts are not displayed at all.
Does anyone know if there is a known problem with what I'm trying to do here? Is it not advisable to mix vector with raster? I'm more curious than anything because I can easily just move the raster parts into a separate image but it's just annoying that it works everywhere except Safari.
One of the images in question (Pin is vector, map is raster. Pin displays fine, map not visible):
Thanks,
Andy
This is an interesting question Andy. Is it possible for you to vectorize the raster areas? ( trace in Illustrator for example ) If not, my answer would be to use a sprite sheet for svg's and one for the raster images, png file...

Convert PNG image to SVG / Vector

We are desperate to convert an image so that it can be used as an image map. Everything I have tried, really doesnt cut the mustard. I havent the experience to work at very high resolutions.. plus I dont know the terminology and neither have the skills or resources to invest in learning how to do this, knowing many others on here and the internet have far greater experience.
I have downloaded and played with Inkscape, but really am going round in circles...
So thought I would ask here.
What I am after is similar to Raphael Australia Map or David Lynchs, http://davidlynch.org/js/maphilight/docs/demo_usa.html
No frills, no effects, just change the state color of the map on hover and retain that event on click.
Here is what we have ...
What we have is a MAP like this.
We lost the original file, which was pure gray. I have this left :(
Anyway, we want it so that each state ( including the territory ACT ) not indicated on the above map, represented in pink #ec008c . On hover
Map needs to be FLAWLESS !! Also require that any imagery must be png and transparent bg.
Must remain exact size as above. Must be extremely accurate on svg coordinates, and optionally would like the STATE text to appear , like the QLD is shown on the image above, but not wholly necessary.
Can anyone point me in the right direction please.
Have you tried Path > Trace Bitmap in Inkscape? If you play with the settings you should be able to get a decent vectorised image.
Vectorised:
EPS:
http://dl.dropbox.com/u/13402937/Australia.eps
Adobe Illustrator:
http://dl.dropbox.com/u/13402937/Australia.ai
try to use this tool, its the potrace part to trace pixelpictures in inkscape with many features. potrace traces pictures from commandline
I have obtained extraordinary results with https://vectormagic.com/ , which can be tried online.

Image cropping problem

When I copy a layer in photoshop, then I want to merge it with canvas, I crop it, but it's getting smaller. I want to save its original size! Could you help me please?
Seems like the cropped version you are pasting into has a relatively bigger size. That might be the reason you are feeling like it getting smaller. Observer closely what is the zoom level.

Resources