BMP to JPEG

http://www.phpro.org/examples/Convert-BMP-to-JPG.html

add watermark in PHP

<?php
/**
* Put logo on low right jpeg image
* used stefan’s script for position
**/
$logo_file = “watermark.png”;
$image_file = “img.jpg”;
$targetfile = “img3.jpg”;
$photo = imagecreatefromjpeg($image_file);
$fotoW = imagesx($photo);
$fotoH = imagesy($photo);
$logoImage = imagecreatefrompng($logo_file);
$logoW = imagesx($logoImage);
$logoH = imagesy($logoImage);
$photoFrame = imagecreatetruecolor($fotoW,$fotoH);
$dest_x = $fotoW – $logoW;
$dest_y = $fotoH – $logoH;
imagecopyresampled($photoFrame, $photo, 0, 0, 0, 0, $fotoW, $fotoH, $fotoW, $fotoH);
imagecopy($photoFrame, $logoImage, $dest_x, $dest_y, 0, 0, $logoW, $logoH);
imagejpeg($photoFrame, $targetfile);
echo ‘<img src=”‘.$targetfile.'” />’;
?>

UTF-8 and Big5 / GB convention

To convent the utf-8 to big-5 , simply use this to do it , but it is better to use utf-8 to do a page !

$str1=iconv(“UTF-8″,”big5”,$str1);

web 2.0 generator

設計 Web 2.0 網站之各種產生器 ::: 挖趣 wowTree ::: 挖東西.找樂趣

Color pattern for web design

http://www.colourlovers.com/

Data visualization

In this informative of years , we are given more and more informations from web.

However, how we digest this big amount of data? The Data visualization is a method/Skills to represent the data . Which given the user  that more easy to understanding and digest the data effective .

And I had find a website which is talking about the 16 good example that using data visualization

 http://mashable.com/2007/05/15/16-awesome-data-visualization-tools/

Web banner design tips

https://i0.wp.com/www.simplygraphix.com/banner_tips.html

Nowadays , web banner is the most income of the website. It given the advantages of doing promotions for your new products or new announcement .  And a good banner will give you a better income with your web site.

Here is the article talking more or less on how to design a good banner for your website.

such as

1. Nothing beats a good eye-catching punch line
When thinking of the copy for a banner; you need to spend a lot of time in creating a catchy phrase, something that will arouse the interest of the viewers and entice them to click on the banner. The punch line should be a small phrase, just a few words and should be visually appealing (correct usage of colors and fonts).

2. Good copy
A successful banner has excellent copy. Be sure to spend ample time thinking about what would interest the surfer. Another rule of thumb for good copy is to keep it short and simple. The text should support the banner punch line and should be informative and practical, making the viewer curious or bringing out a smile. Preferably, the copy should end with the same catchy phrase as on your web site unless the banner punch line is the same.

Eyetracking Study of Web Readers

http://www.useit.com/alertbox/20000514.html

http://www.useit.com/eyetracking/ 

This article is taking about how a content that make users receive the most information when reading the websites, and some research result

For example

Keep Headlines Simple and Direct

also , there is a research that showing how the users read the content

Areas where users looked the most are colored red; the yellow areas indicate fewer fixations, followed by the least-viewed blue areas. Gray areas didn’t attract any fixations.

Faster Page Loads – Bundle Your CSS and Javascript

http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/

This article is to analysis which part of the website are need more time to load,

we can make use of this data , to reduce the loading time to our website

10-difficult-Client requests

http://www.ideasonideas.com/2007/10/disarm-10-difficult-requests

As a web designer , the most difficult part isn’t develop a web site ,the most difficult is how to met the client’s requirement. Even you have done the whole project , and following the W3C guild lines. The user also can give you some non- predict comment and ask you to develop the web sites. This web site define 10 -most common requests of the clients .And given the best solution to duel with this kinds of difficulties.

Previous Older Entries