image

What websites present artwork well?

I'm a painter who's building a website portfolio/print shop. I was wondering if anyone had seen some exceptionally good layout design in presenting a variety of paintings. My go-to resource so far has been the MOMA, but they are a little cluttered for my taste. Googling it has resulted in some seriously hideous and chaotic design, and ...

How to store image historgam into database and be able to perform search

I need to write webapp where user will be able to perform search based on images colors. My question is how to store color data? I think that best solution will be to reduce image colors and prepare histogram for each r, g and b channel but I don't have idea how to design database. I want to use MySQL DBMS. Could someone point me into ri...

Set a button background image iPhone programmatically

In Xcode, how do you set the background of a button as an image? Or, how can you set a background gradient in the button? TIA, Linda ...

JMagick.dll for 64 bit processor

I am trying to run a program to call C++ libraries in ImageMagick using jmagick interface (JNI) from a java program. But I am getting following exception Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.6.0_16\bin\jmagick.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform I tr...

WPF loading serialized image

Hi, In an app I need to serialize an image through a binarywriter, and to get it in an other app to display it. Here is a part of my "serialization" code : FileStream fs = new FileStream(file, FileMode.Create, FileAccess.Write); BinaryWriter bin = new BinaryWriter(fs); bin.Write((short)this.Animations.Count)...

Silverlight 4, image to byte array

Let say I have application menus in a database with their icon images (binary data). I extract those menus with the icons being byte[] type. However if there's no icon set, then I would like to use default icon which comes not from database, but from xap (inside Resources folder). To display icons coming from database I use IConverter (b...

How To Change Default Image Thumbnail Sizes in Wordpress

Hey.. quite embarrassed to ask this actually - I should be able to find this on Google, but because of all the new WP functionality as well as the older methods of doing this in older versions are riddled all over Google Results that I have resorted to leverage the knowledge of a good samaritan out there somewhere. I already know how t...

Creating a gridview of images' thumbnails that expands when tapped in Android

I would like to create a gridview of images, in which, these images will be downloaded based on a web service response. The thumbnails of images will be displayed in a gridview, similar to how iPhone displays photos. User can tap on the image and the corresponding full-res image will be shown, sized to fit within the android phone. Up...

Use image from an image that contains multiple images!

So looking in the image file repository that comes with vs 2010, I can see lots of images that contain multiple images...say of different sizes. How do I use that file to display one of the smaller images that is contained in the file? Hope that makes sense!! I didn't have much luck with google...probably because I didn't know what to ...

Finding the points of an Image (PNG) to make a polygon

If I have an image (PNG) is there anyway to find the polygon representation of that image? I am using Cocos2d and SpaceManager to build an iPhone application. There are many images that are polygon in shape. I need to give those images the characteristics of a polygon. Language => Objective C ...

Expression blend Xaml toVisual Studio

Hi All, We have a weird blend bug. On vista we created some blend anims and everything built properly. We have since upgraded to Windows 7 and now when we build anims in blend the anims play in the animation preview window but NOT when the anim is built. If we copy the XAML to Visual studio the images copy across ok but all animation ...

image Texture Feature using Gabor filter

I have the following gabor filter to extract image texture feature.. a=imread('image0001.jpg'); a=double(a); a=a-mean(a(:)); [r,c,l]=size(a); K=5; S=6; Uh=0.4; Ul=0.05; alpha=(Uh/Ul)^(1/(S-1)); sigmau=(alpha-1)*Uh/((alpha+1)*sqrt(2*log(2))); sigmav=tan(pi/(2*K))*(Uh-2*log(2)*((sigmau^2)/Uh))/sqrt((2*log(2))-(((2*log(2))^2)...

PHP GD palette colors

In PHP GD how can you convert a truecolor image to a palette without losing any colors. With imagetruecolortopallete it doesn't work. I have a function that runs through all the colors and filters them (eg. grayscale). and It doesn't retain all colors, such as this picture of a Lamborghini- Picture This is my code $im = imagecreat...

Max-height scales image perfectly in FF, but Chrome has scrollbars.

So I want a page that's nothing but a square image which scales up to the height of the window. Fine, great, I do: img { max-height:100%; height:100%; width:auto; } and stick an in a center-aligned div. Firefox loves it, but insists on the height:100%. Chrome doesn't need that, but adds a little bit of height to the page ...

How to convert an image in to a stream of characters

I have found that an image can be stored as some string .To give an example I have included a ms word part that has an image.I saved a word file with image and saved it as xml format .when i opened the xml file in a notepad i got following section .It must be the image being stored as some stream of text. Is there a similar way to do it ...

off screen drawing in android

hi, is there off screen drawing possible in android like a imageContext in objective C. if it is kindly tell me the link or some kind of hint. thanks a lot. ...

Silverlight 4.0: Setting an Image Source to a URL

Is there a workaround on this or is this possible in silverlight? my image is not displaying. <Image Source="http://localhost/TempWS/Images/mtdb.ico" Height="60" Width="60"/> ...

Displaying php generated image on a page

I have a function i use in modifying my images, and i want to display thos images on my page alongside other page content. PHP Image Function : <?php function dynamicImage($nw, $nh, $source, $stype, $dest) { $size = getimagesize($source); $w = $size[0]; $h = $size[1]; switch($stype) { case...

How do I read an image file using Python?

How do I read an image file and decode it using Python? ...

Measuring the average thickness of traces in an image

Here's the problem: I have a number of binary images composed by traces of different thickness. Below there are two images to illustrate the problem: First Image - size: 711 x 643 px Second Image - size: 930 x 951 px What I need is to measure the average thickness (in pixels) of the traces in the images. In fact, the average thick...