image

[ASP.NET] Generating images: Alternate font by User Agent (OS)

Hello, I need to generate small images for certain parts of text. Those will have to fit into the text seamlessly. I know I can not make up for every browser font settings available, but how do I have to check for Linux, Mac and Windows users depending on the user agent? I want to use the right font (of the three "Verdana, Arial, Helvet...

how to make a web-gallery with RoR?

hello, Im a newbie RoR kid, and I'm trying to make a web gallery app just like the onyx http://www.hulihanapplications.com/projects/onyx since it's outdated and i couldn't get it to work with my 2.3.8 rails' version. So, are plugins like paperclip or carrierwave any good for me to start with. Or should i take another route and writh the...

How to know coordinates in a real image from a scaled image.

Hi folks, First of all thanks for your time reading my question :-) I have an original image (w': 2124, h': 3204) and the same image scaled (w: 512, h: 768). The ratio for width is 4.14 (rw) and the ratio for height is 4.17 (rh). I'm trying to know the coordinates (x', y') in the original image when I receive the coordinates in the s...

Silverlight Create draggable control over image

Hello, I want to build some GUI where an image is presented, and the user should pick nd/or adjust some points (ellipses) according to the image. Basically, like a map control, when we want to mark some points or make a route, but instead of a map, a picture must be presented. The final locations will be used for image processing. Is th...

ListActivity adding images!?

Hi Guys, i have a following ListActivity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Get Strings from res/strings.xml String items[] = { getString(R.string.mainMenu_1), getString(R.string.mainMenu_2), getString(R.string.mainMenu_3), getString(R.string.mai...

jQuery Toggle switch images

Hi Guys, I have a situation where I am not understanding jQuery's Toggle. I have two buttons, both of them open the same content and when you click on either button the content should open or close and the attribute changes the button from open to closed. (So both buttons do the same function). Only thing is, when I click on the top ...

Retrieving EXIF info and video informations from pictures/movies

Hello, is there a Java framework that will do the dirty work explained in title for me? Mainly I just need to retrieve images properties stored inside JPEGs: size EXIF geolocations shot properties and to retrieve movie files informations like: codec name duration resolution and so on I don't need to be able to show the picture o...

Calculating length of objects in binary image - algorithm

I need to calculate length of the object in a binary image (maximum distance between the pixels inside the object). As it is a binary image, so we might consider it a 2D array with values 0 (white) and 1 (black). The thing I need is a clever (and preferably simple) algorithm to perform this operation. Keep in mind there are many objects ...

In a Windows Form application, how can I simply scan an image using a plugged in Scanner?

User puts a piece of paper on the scanner. User presses a button on my application. Scanner works its magic and my windows form application gets the image and puts it in a pictureBox. What would be the path of least resistance if I wanted to make something like this? I don't need the user to configure colors and settings, etc. Just si...

How can I have a floating image (right aligned) with text that wraps around the image in Android Layout?

It's kind of hard to explain, but an example of what I'm wanting to accomplish is like this: Here is some text | image | that is printed | | out in a view and --------- it is wrapped around an image that is floating and right aligned. I thought about generating the layout in html and using a web view, but I need to be able to ...

What is fastest way for a .Net program to index all images on a user's computer?

What is the fastest way for a .Net program to index all images on a users' computer? Using Open Source .Net Libs and native .Net classes. In a way good for XP sp3 ,..., Windows 7 Fastest - Same pc configuration, different time (seconds) .Net program - better C# To index - get a list of absolute links (like c://bla-bla/file ) and sa...

UIScrollView loading an image

i wanted to find an "easy" way to use the pinch/zoom function on my app! so i decided to use a UIScrollView. so far so good. i load my image from an sqlite db like so: - (void)viewWillAppear:(BOOL)animated { imageView.image = entity.Aattribute; } - (void)viewDidLoad { self.title = @"Tit...

Keeping track of links or references to image files and deleting unused ones (PHP/Database)

I need a way to remove "unused" images from my filesystem, i.e. images that are never accessed from any point in my website (doesn't matter if I break external links. I might disable external hotlinking altogether). What's the best way of going about this? Regular users can add multiple attachments to topics/posts and content contributer...

jquery find image based on "align"

Hi all, I'm trying to find all the images on a page based on their alignment (no class or id attached to these images), although I'm not sure how to do it. Basically I want to add CSS to images which are aligned to the right, yet leave the other images as they are. If anyone could help out, that'd be great :) ...

Extracting Information from Images

What are some fast and somewhat reliable ways to extract information about images? I've been tinkering with openCV and this seems so far to be the best route plus it has Python bindings. So to be more specific I'd like to determine what I can about what's in an image. So for example the haar face detection and full body detection clas...

How do I create an ImageView in java code, within an existing Layout?

I'm looking for an easy way for the user to see how many drinks they've had for a BAC calculator. PICTURE OF THE APP, for reference On button press, I would like an image to be added to the screen, directly under the spinner and with left alignment. When I press the button again, I want another image to be added to the screen. So if I...

Matlab toolboxes

Is there an h dome transformation built into Matlab in one of the toolboxes? ...

SVG to JPG / PNG

Hi, is there any working module to convert a SVG image into a pixel format like JPEG or PNG? Thx Jan ...

Loader for images that are in another page that are gathered with ajax, in jQuery

Edit: Here is the new code: $("#normalcontent").hide("fast").load($this.attr("href") +" #normalcontent","",function(){ $(this).slideDown("normal"); $(this).find("img").each(function(){ if($(this).hasClass("large")) { var myThis=$(this); myThis.css("display",...

How to export pdf page as a image using pdfsharp .net library ?

How to export a pdf page as an image using pdfsharp .net library, for pixel level manipulation ? for example, something like, System.Drawing.BitMap.GetPixel() I am trying to find out empty area (all white, or of any colour) inside a pdf document, to write some graphics / image. 09, June 2010: I have tried this, but it is not working....