Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

How to Crop an Image based on a Shape or Path control?

In the last post we discussed “How to Crop an Image using the WriteableBitmap class”. If you didn’t read it yet, first try to understand that before reading this post as we are going to use it in this post very frequently.

 

Today in this post we are going to learn how to crop an image in different shapes like rectangle, circle or any other different complex shapes programmatically.

Published by on under Silverlight | SilverlightTips

Some time we need to crop an image uploaded by user in Silverlight or Windows Phone applications. Sometime we also need to do a rotate transform or skew transform to the image before saving it. So, how to achieve it?

 

This blog post will cover the code with details using the WriteableBitmap class that comes with the SDK. Continue reading to know more about it.

Published by on under Silverlight | SilverlightTips

Earlier days while working with Silverlight 2, it was very difficult to take a snapshot of the XAML page programmatically in Silverlight. Later WritableBitmap class helped us to take snapshot of any portion and save it as image.

 

Today I learnt something new to do this operation very easily using Telerik library methods and hence thought to share with you in this post.

Published by on under Silverlight | Telerik

Yesterday while working with Telerik’s RadHtmlPlaceholder control for Silverlight, I noticed that, it is unable to open certain websites and showing a message that says “The content cannot be displayed in a Frame”.

 

After doing an investigation, I came to know that, it is default behaviour of the control we can not handle. Let’s discuss more on the issue and the reason behind it.

Published by on under Silverlight | Telerik

Windows Phone 8 is already in the market and people having the Windows Phone 7 device is waiting for the WP7.8 update to test few features that is already available in the WP8 devices because the WP7 devices can not be upgraded with the WP8 operating system.

 

WMPoweruser reported some new features which we will get in WP7.8 update from a Nokia Customer Feedback page, but it is still not officially confirmed yet.

Published by on under News | Nokia

As a Windows 8 Store application developer, we need to store and retrieve data to and from XML file stored in the application directory. There are various ways to store data in XML but this post will cover a simplest way to do that.

 

Here we will use a 3rd party extension in our application as assembly reference and use their XmlDeSerializer class to handle it easily. Keep reading to know more about it.

Published by on under Tutorial | Win8

The Windows 8 Software Development Kit (SDK) contains header libraries and a set of tools which you can use to develop Windows Store apps using technologies like Visual C#, Visual Basic, Visual C++ and/or JavaScript.

 

Recently a new version of the SDK has been published which you can grab from here. Also it has a new version of the WACK to validate your Windows 8 Store application branding.

Published by on under Win8 | Windows Store

Last month Microsoft released Windows Phone 8 SDK and now they are organizing a 10 hours online webcast to train you in WP8 application development. In this webcast you will learn more about development from the experts.

 

In this post, find the session details, time table and the link to register for the free webcast event. Take part of it and enhance your Windows Phone skills.

Published by on under Events | Webcast

The “Clipboard” is a user driven set of functions that enables an application to transfer data between applications or within an application. Windows 8 Store SDK defines a set of APIs to handle the OS clipboard in your application.

 

In this continued series of Windows 8 Store application development tutorial, we will learn more about the API and the way to integrate the Clipboard in your WinRT application.

Published by on under Tutorial | Win8

This is the continuing series of the Windows 8 Store application development tutorial and in this chapter, we will learn about creating and updating the live tiles of your WinRT application. There are 46 different types of tile templates available which we will go to learn today.

 

A live tile is one of the best way to provide a good experience to your application which you will find in your Windows 8 Start screen. Continue for further reading.

Published by on under Tutorial | Win8

If you are a Windows 8 Store application and/or game developer, you may want to provide feature to share text, graphics, links or game score cards to Facebook, Twitter or Email. Windows 8 SDK provides those APIs to implement the feature in your application.

 

Today in this chapter of the Windows Store Tutorial series, we will discuss more about the API methods and how to integrate it in your application. Continue reading.

Published by on under Tutorial | Win8

Many time we need to access files and folders from our applications. The Windows Store apps SDK provides us Asynchronous APIs to use for this service to query files and folders. You have to be familiar with async await calls in order to get started with this.

 

This post is part of the Windows Store Application Development Tutorial series. Today we will learn how to handle files and folders in your Windows 8 metro applications.

Published by on under Tutorial | Win8

Microsoft recently released Windows Phone 8 SDK which you can install in your Windows 8 Pro x64-bit version to get started with the development process with Visual Studio 2012. Keep in mind that, your CPU should support Hyper-V and SLAT in order to run the WP8 emulator.

 

Today in this post we will have a quick look into the new WP8 SDK template, the project structure and improved manifest file.

Published by on under WP8 | WP8Dev

Second Level Address Translation a.k.a. SLAT is a technology introduced in Intel and AMD processors. Recently released Windows Phone 8 SDK needs it to run the emulator 8 in your Windows 8 system.

 

So, what is this SLAT and how to check whether your CPU really supports it? In this post, we will discuss this with you.

Published by on under Tips | Win8

As mentioned in yesterday’s Windows Phone 8 launch event, Microsoft publicly released the WP8 SDK for developers. You can now build apps targeting Windows Phone 8 devices. You will be also able to program for Windows Phone 7 devices in Visual Studio 2012 now.

 

In this post, I am sharing the downloadable links of both web and offline ISO versions. Go through the System Requirements first before downloading and installing it.

Published by on under News | WP8

If you are familiar with Windows Phone applications, you might be already aware of Application Bar. Application Bar is used to provide users with quick access to an application’s most common tasks, which are basically hidden when they are not needed.

 

Today in this chapter we will learn more about Application Bar in Windows Store apps along with integration and design guidelines.

Published by on under Tutorial | Win8

In earlier Windows versions, we were missing this great feature of CD/DVD mounting. To achieve this, we had to install 3rd party software tools and was always demanded as in-built feature in Windows.

 

Windows 8 now has this feature and you can now easily mount any ISO image to create a virtual CD/DVD ROM in your PC. Continue reading it to know how to do this.

Published by on under Win8 | Windows

Many of us need to integrate settings page in our applications. All we generally do is by creating a separate page in our project. But Windows 8 provide us a separate settings panel in Charm bar which you can use for your settings page.

 

In this post we will learn more about it from scratch and integrate it to our demo application. Also, we will learn how to invoke the charm bar to show the settings panel.

Published by on under Tutorial | Win8

In last chapter “Navigate between Pages” we discussed the basics of page navigation, where we navigated from one page to another page using the Frame.Navigate(type, obj). We also discussed how to pass an object as query string parameter.

 

Today in this chapter we will discuss more advanced page navigation using the LayoutAwarePage which comes with the Grid and Split application template by default.

Published by on under Tutorial | Win8