
Search In
Sometimes we need to display images with rounded corners in our several Applications, and this can be done very easily by writing some lines of code.
To get roundedCorner for an Image use the following code:
/**
* This method is used to make roun
Hello readers, today we will discuss canvas element for drawing different shapes like triangle and square. Canvas element of HTML is used to draw graphics on the web page. In my example, I am using this element to draw a triangle and square.
H
Hello everyone!!
Today, we will learn how to take screenshots in HTML 5. HTML 5 provide a method called ctx.drawImage(video, 0, 0), by the help of this method we can take screenshots of the video and save it. In this e
In many android applications, we need to set rounded corner image in ImageView. The bad part is that ImageView does not provide any property for this. So for this the following method will help you get rounded corner Bitmap:-
public static Bitmap ge
When we create an application its very easy to display user image or profile pic. when no image is available then we used to include an anonymous image in place of no image is available. But Gone were days and now we have something rich and
In the below example I have created Animate Bitmap program. By using animated bitmap function we will get the position and distance along a path. In below, code will animate image on screen. In my below code I have clearly describe how to make Anima
A viral design app of today, Canva started from a very basic and today has become one of the favorites of businesses and designers alike. The success of Canva inspires many aspiring entrepreneurs and developers to start their unique venture
How to Convert SVG to Image (JPEG, PNG) in Browser & Save on Server for product preview to checkout
I'm converting svg using html2canvas to save on server side as png product preview before checkout with base64. The svg works fine. I
The canvas is an HTML5 element used for graphics.
It was presented by Apple for their Mac OS in 2004. In 2005 it was introduced for other browsers.
The canvas is just a container, graphics is added through javascript in it.
Canvas is having height
SVG
An XML-based image format is the Scalable Vector Graphics (SVG) that is used to define 2D vector based graphics for the Web. We can scale up or down a vector image to any extent without losing the image quality.
SVG is Object Model-based.
Th
