How to resize images for iPhone and Android resolutions? - c#

I have an ASP.NET MVC 4 web application. I have a controller that I use to upload certain image files. The images have to match all Android and iPhone devices.
Are there any preexisting third-party dlls for this kind of task? I haven't written any code except the upload file action.
I thought there maybe something automatically, so instead of cropping image inside web app, it's done automatically.

is it important to resize the images in your application itself? Else I would suggest http://www.imagemagick.org/, which is maybe to powerfull. But is well known and realy popular in the web-developing world...
Hope I could help

Related

Sketch effect on an image in windows phone 7

I am working on an image editor app having functions like cropping, text rendering, framing etc. I want to implement sketch effect now ie, the photo shall be converted to sketch. I am using Nokia.Graphics.Imaging.Managed library for doing it. It works very fine but only in wp8.
the dll is not compatible for wp7. Please suggest me any free library or any image manipulation method to achieve the functionality.
Thanks in advance
Aviary I've used in the past. Read their terms and conditions if you decide to go with their SDK.

How do I build a mobile(tablet) friendly version of my website?

I created website and it uses fluid layout CSS for most of the parts. I now want to make a tablet friendly look of this website.
This website should be viewable properly on Ipad. That's my only requirement.
How can I do this? Which are the development tools to speed me up for this?
Edit: Many people are give suggestion to use Jquery Mobile. Can I use that with my existing Asp.Net website? Do I need to change my whole existing CSS and also am I restricted to use those Jquery UI buttons only?
2nd and most important question is will this work with Asp.Net Vanilla. Say if I have a gridview on my page. Will Jquery mobile work?
For device friendly website, you should use Asp.net MVC4 and jQuery Mobile. It has great mobile features
First you should read Using HTML5 to Create Mobile Experiences and 50 Responsive web examples
Use the CSS Media Queries. And here is a useful article about ASP.NET MVC4 mobile features.
You can also look into responsive CSS. It uses device width and image scaling and good CSS definitions to scale the site to the device.
You can also use a framework for your responsive design.
e.g. framelessgrid

Ruby on Rails > Action Pack APIs > Getting images from website to windows phone 7 app

I have an application for Windows Phone 7 that is in its final stages. All I have left to do is allow content I post on my website, from user submissions, to make its way into the phone application's listbox as a new listboxitem for each image.
Some background:
I have a website made in HTML from dreamweaver, and I have installed Ruby on Rails software for it. I am at the point where I need to obtain the set of APIs that the phone can communicate with in order to receive the image data from the website to the phone.
I am thinking of using Action Pack APIs (action web service), and exporting the data in XML. Technically speaking, is this possible? Is there a better set of APIs to use (free of course)?
As I have never done this before, will what I plan on do be fine in terms of having my phone gain the image data I need to dynamically populate a listbox in my application?
Thank you,
Richard
is something like this would help?
windows phone 7 twitter appliaction
The standard approach is parse your web content and binding data into your listbox on wp7
It's perfectly possible to get images from a website and display them in a list box. The only issue you'll have if you're controlling the backend/website is formatting the output. If you can expose a list of Uris to the images in an XML format your task shoudl be really simple.

take a photo using webcam with C#

I want to take a photo using a webcam from my application. How do I accomplish that? My application is developed in C# and to make a visitor's pass, I want to take a photo of the particular visitor when he enters the company building.
Try out jQuery Webcam
I am struggling to get the save function to work, but its a start.
Webcams all use a different API. Find the API that your webcam supports...let me know, and I will happily talk you through how to do it.
I assume that you are talking WinForms?
You are going to need some kind of trusted client side code, if you want to do this. Java, Flash, SilverLight are all possibilities. But they may create a dependency on a particular WebCam/Software/API.
You'd be much better off configuring your web cam to put its photos in a single place and have a web form that accepts a file upload.
This way when your web cam breaks and you can't get the exact same device you don't have to recode.

How to create a WebKit browser plugin in C#?

I want to create C# plugin for some 3d + Music editing stuff. I want to be able to run my files inside browsers pages (so to see HTML some Flash content and some content which is rant by my plugin) using something like HTML tag or some JavaScript. (So my plugin will be small, powerfull and i want it to run at least on Windows and Mac firefox and safary and Chrome)(If it'll be runing on Linux itll be grate)))
I'ma beginner so any helpfull info will be appriciated
You could achieve it using Silverlight .. think abt it .. :)

Categories

Resources