Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Slice an Image into Tiles and Store in an Array Using Swift iOS App
This is a small sample of how we can split an image into multiple pieces/tiles and store these small pieces into an array and further we will show, how these pieces are rearranged to form an image.
So let start with s...
How to share image that was loaded from a remote url?
Hello Nerds, This tutorial is for forwarding/sharing image from one application to other which was loaded from a remote url. Assuming that you have loaded an image from remote url and displayed it in your ImageView. The basic procedure is by taki...
How to get Image from URL using glide library
The below example code will helps you to get Image from URL by using glide library and to wait for image until it loaded. For this in below example I have added glide library in build.gradle file then I am using Glide with MainActivit...
How to make Flip animation image in android?
In the below example code, I have set the animation to an ImagView when you clicks on image, image will rotate 180 degrees from Y axis. Here first, I have added an ImageView within actvity_main.xml layout, after that I have created a flip.x...
Create tap on image animation like facebook
In the below example I have created a animation ImageView. When user click the image , then image will appear on full screen, after this when user tab again on image it will be Zoomout like a facebook image tab.
Here In activity_main.xml ...
Crop Image in iOS
To crop image in iOS use the following method.
it will crop the image from the visible frame of the imageView.
-(UIImage *)imageFromImageView:(UIImageView *)imageView rectFrame:(CGRect)frame{
UIGraphicsBeginImageContextWithOptions(frame....
How to Get/Crop the visible portion of ImageView
In many application we set the scaleType of large image to "CENTER" or the scaleType is set to "MATRIX" and the bitmap is translated and scaled. Therefore parts of the image are not visible. Now in order to get the visible part you just need to e...
How to get Rounded Corner bitmap ?
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 Bit...
Adjust Image view width dynamically according to the screen size in android.
It is very difficult to re-size the image-view width according to the screen without losing the quality of the image or you can say increase the width in proportionate to height of the image view.
I will show you the trick how you can do tha...