Giter Site home page Giter Site logo

psd-2-svg's People

Contributors

dependabot[bot] avatar lezgomatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

psd-2-svg's Issues

Stroke disappears when fill is set to svg

I added fill and stroke to the vector by photoshop.

image

Then convert it with psd-2-svg to get the following svg.

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="480">
	<g id="L1_shape_1_copy">
		<defs>
			<path id="M1_path"
				d="M232 152 C232 152,382 152,382 152 C382 152,382 302,382 302 C382 302,232 302,232 302 C232 302,232 152,232 152 Z"/>
			<mask id="M1_inner_stroke_mask">
				<path fill="rgb(255, 255, 255)"
					d="M232 152 C232 152,382 152,382 152 C382 152,382 302,382 302 C382 302,232 302,232 302 C232 302,232 152,232 152 Z"/>
				<use href="#M1_path" fill="rgb(255, 255, 255)"/>
			</mask>
		</defs>
		<use href="#M1_path" fill="none" stroke="rgb(0, 0, 255)" stroke-width="40" mask="url(#M1_inner_stroke_mask)"/>
		<use href="#M1_path" fill="rgb(255, 0, 0)"/>
	</g>
</svg>

It doesn't show the stroke.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.