Skip to content

Commit 4144c09

Browse files
committed
Update base64imageutils dep version
1 parent a267ac9 commit 4144c09

File tree

9 files changed

+6151
-29
lines changed

9 files changed

+6151
-29
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"presets": ["react", "es2015"],
3+
comments: false,
34
"env": {
45
"development": {
56
"presets": ["react-hmre"]

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# img2css
22

3-
This is a tool that can convert any image into a pure css image.
3+
Convert any image to pure CSS.
44

55
[Live demo](http://javier.xyz/img2css/)
66

@@ -15,12 +15,22 @@ Hum... to demonstrate the power of CSS!
1515

1616
And this may have other interesting properties, like creating loading screens with pixel art or pixel-level animation.
1717

18+
I made anotehr proof-of-concept using pixel-level animatinos here http://javier.xyz/morphin/
19+
1820
## Planned features
19-
* Make the result smaller with smarter shadows and common background detection. (In progress)
20-
* Make animation and image morphing by using css transitions on the shadows. (In progress)
21+
* Make the result smaller with smarter shadows and common background detection.
22+
* Make animation and image morphing by using css transitions on the shadows. See http://javier.xyz/morphin/
2123
* Add scale options to better suport pixel art.
2224
* Support for custom image filters.
2325

2426
## Development
2527
Run development server:
26-
npm start
28+
```
29+
npm start
30+
```
31+
32+
Build
33+
34+
```
35+
npm run build
36+
```

dist/bundle.js

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

index.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ <h1>img2css.</h1>
3030
</div>
3131
<div id="root"></div>
3232
<div class="padding-2x">
33-
Want a programatic way to do this? Look at <a target="_blank" href="https://github.com/javierbyte/base64-image-utils">base64-image-utils.</a>
34-
<br>
35-
Created by <a href='http://github.com/javierbyte/'>javierbyte</a>.
33+
<div>
34+
Want a programatic way to do this? Look at <a target="_blank" href="https://github.com/javierbyte/base64-image-utils">base64-image-utils.</a>
35+
</div>
36+
<div>
37+
I also made a per per-pixel animation experiment, see <a href="http://javier.xyz/morphin/">morphin</a>.
38+
</div>
3639
<br /><br />
37-
<a href="https://twitter.com/javierbyte" class="twitter-follow-button" data-show-count="true">Follow @javierbyte</a>
40+
<div>
41+
Created by <a href='http://github.com/javierbyte/'>javierbyte</a>. Follow me on <a href="https://twitter.com/javierbyte" class="twitter-follow-button" data-show-count="true">twitter</a>.
42+
</div>
3843
</div>
3944

4045
<a href="https://github.com/javierbyte/img2css/" class="github-corner"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#FD6C6C; color:#fff; position: absolute; top: 0; border: 0; right: 0;"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>

0 commit comments

Comments
 (0)