#box{width:832px;height:832px;margin:0 auto;border:1px solid red;}
.col{width:50px;height:50px;border:1px solid #fff;float:left;background:url(xin.jpg) no-repeat;}
...
分类:
编程语言 时间:
2014-10-25 17:23:21
阅读次数:
192
首先下载 jpegtran 下载地址为http://jpegclub.org/jpegtran.exejpegtran -copy none -optimize -perfect aa.jpg new.jpg
分类:
其他好文 时间:
2014-10-25 00:49:34
阅读次数:
226
引:有时候我们会碰到这这样的需求,需要从文件名xxx.yyy中切分出名称xxx和扩展名yyy。这些可以利用“%” “%%” “#” “##”操作符来完成。一. “%” 操作符:1. 例子:例1例22.解释: 例1:file变量的值为“sample.jpg”。 file%.* 意思是从file变...
分类:
系统相关 时间:
2014-10-24 21:59:41
阅读次数:
314
1、使用异步任务加载网络上的图片我们可以打开这个网址:http://img1.3lian.com/img2011/07/20/05.jpg可以看到一副很好看的图片,我们就要把这个图片显示出来,首先,还是先要布局,我们要显示一幅图片,所以我们的布局中需要一个ImageView,布局很简单,一个Imag...
分类:
移动开发 时间:
2014-10-24 18:28:27
阅读次数:
285
记录此方法,为方便以后写论文用。打开signaltap II 后,打开菜单中的File——Export——“export formal”里选择jpg格式——OK——选择“maintain spacing-only data in current view will be exported”,这样的画...
%%% Diffuse
%%% 扩散效果
clc;
clear all;
addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm');
Image=imread('4.jpg');
Image=double(Image);
size_info=size(Image);
height=...
分类:
其他好文 时间:
2014-10-23 12:29:17
阅读次数:
226
>__ 2 #include 3 using namespace std; 4 using namespace cv; 5 int main(int argc, char* argv[]) 6 { 7 const char* imagename = "lena.jpg"; 8 Ma...
分类:
其他好文 时间:
2014-10-22 23:15:47
阅读次数:
260
using System;using System.IO;using System.Web;using System.Web.UI.HtmlControls;using System.Drawing;/// /// 文件类型/// public enum FileExtension{ JPG = 2...
分类:
其他好文 时间:
2014-10-22 17:31:22
阅读次数:
159
import base64f = open("m1.jpg", "rb")res = f.read()s = base64.b64encode(res)f = open("hello.txt","w")f.write(s)
分类:
编程语言 时间:
2014-10-22 12:54:16
阅读次数:
424
============问题描述============ 利用下面的代码读取到sd卡内的图片,显示出来
setBackgroundDrawable(newBitmapDrawable(BitmapFactory.decodeFile("/storage/sdcard/bg.jpg")));
然后进行...
分类:
移动开发 时间:
2014-10-22 01:02:56
阅读次数:
147