Can't set width and height to a blob image

Hi .
I am using base 64 encode to fetch blob image from database . but I am not able to set width and height to that image . If any one have idea about it so plz help me. to solve this problem.
regards

Just use CSS?

img{
width: 20px;
height: 25px;
}