Giter Site home page Giter Site logo

Data-URI about subtlepatterns HOT 8 CLOSED

atlemo avatar atlemo commented on June 30, 2024
Data-URI

from subtlepatterns.

Comments (8)

atlemo avatar atlemo commented on June 30, 2024

Hi
To be honest I'm not sure how I'd go about doing it?

from subtlepatterns.

DanielRuf avatar DanielRuf commented on June 30, 2024

You could use this generator: http://www.greywyvern.com/code/php/binary2base64
Just paste the direct url to the existing image(s) and generate the corresponding base64 / data uri code for each image

from subtlepatterns.

atlemo avatar atlemo commented on June 30, 2024

Ah, that would be too much of a manual job. If anyone want's to use the patterns as Base64 they can use the generator on the specific pattern they need.
I'll include a link to the one you recommended in the readme.
Cheers.

from subtlepatterns.

DanielRuf avatar DanielRuf commented on June 30, 2024

Currently working on a base64 version of all patterns. If I find a solution to convert them automatically and easily, I will let you know.

from subtlepatterns.

DanielRuf avatar DanielRuf commented on June 30, 2024

I have uploaded here the converted images:
http://daniel-ruf.de/subtlepatterns/index.html

You can get the base64 codes from the css file
(I had to optimize some parts of the files in notepad++ after the automatic generation ):
http://daniel-ruf.de/subtlepatterns/subtlepatterns.css (it is about 13MB)

To generate the files, I used the script from
http://code.google.com/p/image2css/ or
https://github.com/mhuckaby/image2cssConverter

The used command line code was this (windows):
>image2css.bat -f patterns/ -i png jpg -o subtlepatterns.css -h index.html

from subtlepatterns.

atlemo avatar atlemo commented on June 30, 2024

Ah, that's great - thanks!

from subtlepatterns.

DanielRuf avatar DanielRuf commented on June 30, 2024

@subtlepatterns would be great if you could generate these files also and host them on subtlepatterns.com (and maybe here on github too) because I think it makes more sense when you host this.

Let me know when you have done this because I have to clean up a bit my server.
The combined css file is currently 13 megabytes big.

from subtlepatterns.

atlemo avatar atlemo commented on June 30, 2024

You mean host the base64 files on subtlepatterns.com?
I'm sorry but I have no plans on doing this at the moment. The demand is just not there to support the extra work and bandwidth required.
There will soon be retina size patterns too, and this will require even more of my time.
Hope you understand – those who want base64 versions can easily convert using the available online tools.

I might offer this service at a later point, but not right now.

from subtlepatterns.

Related Issues (16)

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.