Similarly for fx=0.2 and fy=0.8...we use the function written before and enter our new fx and fy values as follows:
c=shrinkimg(b,0.2,0.8);
# note that we don't have to imwrite and double our image again as we have already done this.
The resulting image is:
and is very dark and grainy.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment