delphi中,使用TGifimage这个类可以使Image显示Gif动画
// Image1:TImage;
// Image1.Picture.LoadFromFile(OpenDialog1.FileName);
TGIFImage(Image1.Picture.Graphic).AnimationSpeed := 100;
TGIFImage(Image1.Picture.Gr...
分类:
其他好文 时间:
2014-05-15 19:42:23
阅读次数:
321
1、PIL包推荐Pillow。2、源码:#encoding=utf-8
#author:walker
#date:2014-05-15
#function:更改图片尺寸大小
importos
importos.path
fromPILimportImage
‘‘‘
filein:输入图片
fileout:输出图片
width:输出图片宽度
height:输出图片高度
type:输出图片类型(png,gif,jpeg.....
分类:
编程语言 时间:
2014-05-15 19:07:57
阅读次数:
266
1.安装VMwarevCenterConverterStandaloneClient运行虚拟机,File--VirtualizeaPhysicalMachine这时如果电脑中没有VMwarevCenterConverterStandaloneClient,则会进行安装。安装过程之后图标会出现在桌面上,双击运行选择连接到本地服务器,登陆点击转换计算机这个,可以将本地..
分类:
其他好文 时间:
2014-05-15 19:07:19
阅读次数:
471
很简单的一个问题,既然有人提到了,那我就在这里记录一下。<H3C>sysSystemView:returntoUserViewwithCtrl+Z.[H3C]local-useradmin[H3C-luser-admin]passwordcipher12345678Updatinguser(s)information,pleasewait....[H3C-luser-admin]service-typetelnetlevel3[H3C-lus..
分类:
其他好文 时间:
2014-05-15 19:06:36
阅读次数:
294
一.前言由于mysql5.5.7之后使用cmake编译。本篇简单介绍mysql的安装和配置。二.环境准备1.操作系统CentOS6.4x86_642.软件版本mysql-5.5.37#下载地址:http://dev.mysql.com/downloads/file.php?id=451429,需要申请oracle账号才能下载。3.需要安装的依赖包cmakegccgcc-c++ncurs..
分类:
数据库 时间:
2014-05-15 18:58:51
阅读次数:
518
#!/bin/bash
#function:cutnginxlogfilesshell
#cp/usr/local/nginx/logs/access.log/usr/local/nginx/logs/access.log.bak
log_cut_path="/var/log/nginx"
log_files_path="/usr/local/nginx/logs/"
log_files_dir=${log_cut_path}$(date-d"yesterday"+"%Y")/$(date-d"yesterd..
分类:
其他好文 时间:
2014-05-15 18:49:50
阅读次数:
244
介绍EditText颤抖的动画效果
Animation1.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except...
分类:
其他好文 时间:
2014-05-15 18:12:00
阅读次数:
345
加载程序集 AssMedicalAdvice =
Assembly.LoadFrom(Path.Combine(Environment.CurrentDirectory,
"Inscription.MedicalAdvice.Client.dll"));1.调用静态函数...
分类:
其他好文 时间:
2014-05-15 17:54:29
阅读次数:
248
/// /// 信息写入记事本 /// /// /// public static void
Write(string text, string path) { try { DateTime newDat...
分类:
其他好文 时间:
2014-05-15 17:51:53
阅读次数:
262
1.查看编码 通过file命令 file filename 可以查看文件的编码2.编码转换
通过icnov命令 iconv -f UTF-16 -t UTF-8 sourceFile -o targetFile
此命令将UTF-16格式的sorceFile转换为UTF-8的targetFile
分类:
系统相关 时间:
2014-05-15 17:21:30
阅读次数:
328