Giter Site home page Giter Site logo

yanggang12345 / img2base64 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inottn/img2base64

0.0 1.0 0.0 6 KB

🖼 图片在线上传并转换为Base64编码

Home Page: https://inottn.github.io/img2base64/

HTML 29.31% JavaScript 38.36% CSS 32.33%

img2base64's Introduction

介绍

图片在线上传并转换为Base64编码。

  1. 支持 PNG、GIF、JPG、BMP、ICO 格式。

  2. 将图片转换为Base64编码,可用于减少图片的请求数量,以及本地开发时资源跨域问题。

  3. CSS中使用:background-image: url("data:image/png;base64,xxxxx=...")

  4. HTML中使用:<img src="data:image/png;base64,xxxxx=..." />

  5. 被转换的图片不宜过大。

img2base64's People

Contributors

inottn avatar

Watchers

James Cloos avatar

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.