image

Using CSS how do you move text down when a floated image is above a certain width?

I have a text block with an image floated left. The images can be of variable width. If the image is say greater than 2/3 the width of the block I want the text to drop down below the image but if not I want it beside the image. All of this is in Drupal if that matters. ...

mysql db image convert to file

Hi i am writing a converter from Oracle to mysql In Oracle the images are stored in db. I want to read the content of the image and save to file system I suppose that i have to read the blob entry and using php file commands create the file (am i right) What about image type. Should i save as jpg (what if the store image is not jpg) ...

How to get the height of an Image in Silverlight?

I have this code in Silverlight: Image image = new Image(); BitmapImage bitmapImage= TheDatasourceManager.GetBitmapImage("blackPencil"); image.Source = bitmapImage; image.Stretch = Stretch.None; image.HorizontalAlignment = HorizontalAlignment.Left; image.VerticalAlignment = VerticalAlignment.Top; image.Margin = new Thickness(88, 88, 0, ...

Get images from a URL and retrieve them all to select the one which is the biggest.

I want to open a URL and RegEx all the image's URLs from the page. Then I want to cURL all of them and check what size they have. In the end I want to get the biggest one. How do I do this? ...

In CakePHP, whats the best Image Upload / Resizing component you've used?

Im looking for somthing that can belong to many many models and, hopfully, has all the resizing functionality built in too. Wondering if there's any good suggestions out there, I don't want to pick the wrong one. Or is it just worth building my own? ...

Generating Random Paired Images in C#

im trying create cards matching game. normally these type of games they match paired cards together (with the same file name "A.jpg with A.jpg") but in my case, im matching cards with different names "B.jpg with A.jpg" (correct), "C.jpg with D.jpg" (correct) but with "B.jpg with C.jpg" (incorrect answer). A.jpg-B.jpg <--correct C.jpg-...

can JLabel have img tags

Hi, I am trying to display a JLabel which has a few lines of text and an image as follows: String html = "<html> hello </br> <img src = \"/absolute/path/here\" height = \"30\" width =\"40\"/> </html>"; JLabel l = new JLabel(html); For the image all I get is a broken image, is it possible to nest img tags inside a JLabel? EDIT: I wan...

c++ library for endian-aware reading of raw file stream metadata?

I've got raw data streams from image files, like: vector<char> rawData(fileSize); ifstream inFile("image.jpg"); inFile.read(&rawData[0]); I want to parse the headers of different image formats for height and width. Is there a portable library that can can read ints, longs, shorts, etc. from the buffer/stream, converting for endianess ...

image not shown in dvi after latexing

Hi, I include several images of eps format in latex. After latex command, there are some of the images missing in the dvi file. Not sure if it is related to the image size, most of the images missing have size around 83kB while those shown up have a size less than 40kB. After conversion from dvi to ps, the images are all back. Just wond...

Resizing an image using mouse dragging (C#)

Hi all. I'm having some trouble resizing an image just by dragging the mouse. I found an average resize method and now am trying to modify it to use the mouse instead of given values. The way I'm doing it makes sense to me but maybe you guys can give me some better ideas. I'm basically using the distance between the current location of ...

How can I duplicate the UI functionality of Google Fastflip?

Trying to get the same functionality as Google FastFlip. Not just with the thumbnails, but even for the larger images too. Notice how when you click on a story, you see the main story front and center, and you see smaller half-screens of previous and next stories. How can I get that functionality? Is there a plugin for one of the JS fr...

need to separate words from an image

how can i manipulate pixel values of a loaded image then save portion of that image into a new image(1 image per word).i found several example regarding saving or loading image but i cant understand how can i save image portion???i am trying to do it with java ...

Free Spectral Images database?

I am working on a project "object detection using multi spectral imaging", but i am finding troubles because i dont have images to start testing my ideas. Now i am working with the hardware. Please Does any one knows a database for any spectral imaging(faces, flowers,..etc) such that i can test my ideas for classification until i finish ...

upload image during registration in asp.net

I am developing a student registration form in asp.net. there are two tables viz std_registration and gallery(having pic_id and pic_url). During registration, before the click of submit button i want to retrieve pic_id from gallery table and then pass it to the insert query of registration table. image upload is an optional part. if no ...

jquery question - addclass to element depending on active image in rotating banner

EDIT : Per Slaks $j('#banner-content img').each(function() { var link = $j('#page-tabs li a.' + $j(this).attr('class')); if ($j(this).is(':visible')) { link.addClass('active'); } else { link.removeClass('active'); } }); ORIGINAL POST I have a banner that rotates a series of three images. The active...

save plot into image file in matlab: difference between saveas and print

Hi I wonder when saving plot into image file in matlab, what is the difference between saveas and print? In what cases both can be used and in what cases only one can be used? Thanks and regards! ...

OpenGL true coordinates and glutTimerFunc() problem C++

HI I am starting to learn openGl for C++.but at stating point I stucked. I have 2 question that is the coordinates for drawing some objects? I mean where is X, Y and Z? Second one I am making tutorial from some sites. and I am trying to animate my triangle.In tutorial it works but on my computer not.I Also downloaded source codes b...

Putting binary resources (images) in a separate assembly (WPF/.NET)

I have a .NET solution with a couple of projects. The output is a WPF application. Now I would like to put my binary resources (images/icons) in a single project/assembly in this solution, so that all my other projects in can use them. My question is how I can do that? What type of project should I create and how should I reference thes...

Image File In Text Editor - What Are The Characters? What's the Process?

i'm currently in the process of conceptualizing an art piece for a gallery show next year, so this bizarre question of mine is more than just simple curiosity. if i open up an image file (a .PNG) with Text Edit or Note Pad, the file is presented in textual characters. here's an excerpt: ˇflG¿§vÑ$BaçC$ èœ≥à-ƒ…åGj!mëA»T‰dÚ%ryǬF1¢ƒQ∑P®...

How do you install GraphicsMagick thru yum, apt or up2date?

are there any source that offers graphicsmagick thru yum, apt or up2date? a manual rpm install is too scary for me. :) ...