-3

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.
hackp0int
  • 4,052
  • 8
  • 59
  • 95
  • Define match. What size/quality an image is resized to is context dependent. – Morrison Chang Mar 10 '13 at 05:44
  • As i have said to all resolutions of mobile devices (iPhone and Android) – hackp0int Mar 10 '13 at 05:45
  • Does this SO answer your question: http://stackoverflow.com/questions/8357173/which-free-image-resizing-library-can-i-use-for-resizing-and-probably-serving-im – Morrison Chang Mar 10 '13 at 05:49
  • You might want to describe your image workflow a bit more as I'm still not sure how the images relate to the mobile device. Is it a mobile specific web app or does it display in a desktop web app. Where are the images from (mobile or pc). Do you care about retina display/high density Android screens? – Morrison Chang Mar 10 '13 at 06:41
  • @Morrison Chang i will try to explain, for example you upload image to web site cms, i need to display the same image inside many mobile devices without spoil the quality and no cropping. The question is maybe some else did it automatically, if not never mind i will write it my self. – hackp0int Mar 10 '13 at 07:02
  • You could use css3 scale transform in your web-app to handle the sizes but at the possible cost of bandwidth, but otherwise you'll need to try out what image resizing work for the devices you are supporting. I would start with iOS devices to see if the app works well and then look at Android due to the much large number of screen sizes/densities available. The original iPhone is 320x480 but the latest Android is 1080x1920, so what would fill on some wont on other. Good luck. – Morrison Chang Mar 10 '13 at 07:36
  • Thanks you anyway, i know about all the resolutions, and i know about densities, i just wanted to compensate some time for me. Anyway thanks – hackp0int Mar 10 '13 at 07:44

1 Answers1

0

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

Anton
  • 449
  • 4
  • 14