23 Star 44 Fork 16

小李 / Image2Base64

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Image2Base64

这是一个生成图片的Base64编码数据的工具箱。

为什么要写这个工具

目前使用的JS控件库中包括大量的图片(图标文件和其它图片资源),每次打开系统时会向服务器发送至少一百多个资源请求,这使浏览器和服务器都花费了大量的时间和性能去处理这些请求。为了能尽量减少请求数量,所以。。

可执行文件

生成的可执行文件放在 Image2Base64/bin/Release/ 目录下。

功能说明

  1. 生成图片的Base64编码,通过双击图标复制Base64编码数据
  2. 根据选中的图片生成对应的CSS文件
  3. 将已经存在的CSS文件中的图片地址替换成Base64编码

开发环境

VS2013 (winform) DotNet Framework 2.0

软件界面

生成CSS文件窗口 处理已经存在的CSS文件窗口

The MIT License (MIT) Copyright (c) 2016 hyjiacan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

生成图片的Base64编码工具。包含功能:1 生成图片的Base64;2 根据选择的图片生成CSS文件;3 将指定目录下的CSS文件中的图片替换为Base64编码数据。 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/hyjiacan/Image2Base64.git
git@gitee.com:hyjiacan/Image2Base64.git
hyjiacan
Image2Base64
Image2Base64
master

搜索帮助