image

Find specific text in a DIV according to offset in pixels

I want to insert an image tag into a block of text so that the image is, say, 100 pixels down in the DIV. <div> A lot of text in a text block and a <img tag> somewhere that is floated left or right and positioned inside the text block </div> So, the tag above is put in the text block to be floated so that it is positioned...

Extract everything from PDF

Looking for PDF content extractor (console tool or library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following things: text with fonts and styles; images; audio and video; links and hotspots. page snapshots and thumbnails; general PDF information, e.g. book layouts, number of page...

iphone memory deallocation issue with scrollview with image inside

Hi, I'm having trouble deallocating a UISCrollView that contains images. There's something wrong with my code, but I cannot understand where. this is a snippet of my code. It basically create a loops adding a uiscrollview with an image and removing. If you run the code with instruments, no memory will be freed. I also add some check for...

HTML's "<img align=top>" in CSS?

How do I emulate <img align='top' src='huge_image.jpg'> <span>I start at the top right corner of the image!</span> in CSS? Maybe it's embarrassingly simple, but I really don't know. ...

Procedural Avatar Generation

I'd like to implement a system that generates unique NxN blocks when given a MD5 hash as an input, currently I'm splitting the MD5 into sub-strings and just using them as Hex colour-codes, does anyone have any good ideas on systems I could use to generate these images? I've considered using the values as the constants in a Lorenz attrac...

PHP watermarking

i am using this code to create watermark. $image = '1.jpg'; $overlay = 'stamp.png'; $opacity = "20"; if (!file_exists($image)) { die("Image does not exist."); } // Set offset from bottom-right corner $w_offset = 0; $h_offset = 100; $extension = strtolower(substr($image, strrpos($image, ".") + 1)); // Load image from file ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 pixels how can i do that. any help? ...

Rotate image through Y-axis on web page

What are my options for rotating an image on a web page through the Y-axis? I'm not sure if I even have the terminology right. Is this called a rotate or a transform. Most of the searches that I've done with "rotate image" show images being turned. What I'm looking for is the mirror image of the image or what it looks like if you were st...

django - save a resize copy of image on upload (using admin site)

Hi - I'm building a site for a client that needs to support image uploads (an artist) through the admin interface. Since most of the images are pretty high-res, I wanted to create thumb copies of the image to display on the gallery page after the upload. The upload works great with the forms.ImageFile element, but I was looking for som...

Download big images from http://images.google.ru

Hello I'm trying to download images from http://images.google.com. Its easy to download small images. But maybe someone know how to download big images that come from another site? Greate thanks for the possible answer best Vladimir ...

Little Math-help for image resize needed

Hey, I have an Image with the Value X width and Y height. Now I want to set the height ever to 60px. With which calculation I can calculate the height that the image is correct resized? ...

Transform rectangular image into trapezoid

In .NET how can I transform an image into a trapezoid. The Matrix class supports rotation, shear, etc, but I can't see a trapezoidal transformation. I'm using the usual System.Drawing.* API, but I'm flexible to other .NET solutions. ...

Getting the size of a downloaded image in Silverlight

If I've got a Silverlight Image control that downloads from a full URL, how can I get the size (in bytes) of the downloaded image without making another web call? I can't find anything on the Image or the BitmapImage source behind it that would tell me. And even the DownloadProgress event on the BitmapImage only gives a percentage. ...

Hand off variable to html

So instead paying $35 for slideshowpro for lightroom, I just decided to whip up a quick javascript slideshow to do a simple task. Rotate 10 images within a div, randomly. It works like so: var imageSrc = "source_folder/"; var imageType = ".jpg"; var randomImage = imageSrc + 0 + Math.floor(#*Math.random()) + imageType; (This isn't all ...

Image generator

Hi, I'd like to be able to generate an image with overlaying text (that is inputted by the user) such as how it is done on www.depressiondog.info. Can someone show/link me to some code that will do that. Thanks. ...

Using QCView and iSight to capture image

Hello all! I have a QCView that loads a Quartz file which gives you iSights feedback (basically like a QTCaptureView) Everything displays fine The button simply takes a snapshot using the following simple lines of code - (void)takePicture:(id)sender {NSImage *currentImage = [outputView valueForOutputKey:@"ImageOutput"]; [[currentImage...

Draw an image with custom transparency in GDI+

I'm drawing lots of images (all of them dimensions=24x24 pixelformat=32BppPArgb) onto a Control using a Drawing.Graphics object and the DrawImage() function. It's possible to zoom out in my application which means that the Graphics object has a Transform Matrix attached to it which controls both zooming and panning. There's no point in ...

Get a image from a uiview

Hi I want to perform a shrink animation on a UITableVIew. I experimented a bit and found out that the animation runs much faster when I shrink a UIImageView with an image of the current state of the tableview instead of shrinking the table view itself. I grabbed the image in a method in my main viewcontroller prior to the animation: UI...

How do I best prioritize HTTP requests on a web page?

I need to prioritize the downloading of (in my case) images. To do this I would prefer to use some kind of plugin (preferably for jQuery) that lets me do this without having to build my own downloadqueue mechanism. Consider this scenario: You have a web page. Your web page is able to show a given user three images. These images are on...

Make images load when they enter visible section of browser?

I was browsing around the web and I saw something I've never seen before. on this site: http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/ When you navigate down the page, the images only load when they are in the visible portion of the browser. I have never seen this before and was wondering...