Let's say I want to draw a simple quad like this:
glBegin(GL_QUADS);
glVertex2f(-1.0,-1.0);
glVertex2f(1.0,-1.0);
glVertex2f(1.0, 1.0);
glVertex2f(-1.0, 1.0);
glEnd();
Is there a way to draw this such that it appears behind all 3D objects and fills up the whole screen? My camera moves with the mouse, so this quad also has to appear s...
How can I print a picture that connects to a field image in a database using Crystal Reports?
Thanks for any help.
...
I have an image with two points, aligned something like this:
|----------------|
| |
| . |
| |
| . |
| |
|----------------|
I have both X, Y coordinates for both points and I need to rotate the image X degrees so it looks like this instead:
|----------------|
| ...
I'm looking for a quick and easy way to preload images with JavaScript. I'm using jQuery if that's important.
I saw this here (http://nettuts.com...):
function complexLoad(config, fileNames) {
for (var x = 0; x < fileNames.length; x++) {
$("<img>").attr({
id: fileNames[x],
src: config.imgDir + fileNames[x] + config.im...
I have a 72 dpi tiff that I'm trying to upsize to a 300 dpi tiff. I can do it from within image programs such as Gimp or even OS X built in preview. For some reason I can't seem to figure out how to do it in netbpm. I tried the following command line:
tifftopnm < sample1.tif | pamditherbw -threshold -value 0.5 | pamscale 4.2 | pamtopnm ...
I am not sure where to start to explain this one.
I have a list view with a couple image buttons on each row. When you click the list row, it launches a new activity. If you review some of my other posts, I have had to build my own tabs because of an issue w/ the camera layout. The activity that gets launched for result is a map. If I c...
I have a map of a building and I'd like to programmatically highlight specific rooms based upon user input.
I'd like to do it from the server side if possible, and eventually, I'd like to be able to highlight multiple rooms. To elaborate more, this feature is for an exhibition. Users will be viewing data about an exhibitor, click th...
I have a question related to gridviews in ASP.NET
I have a gridview that I pull information from a SQL db and it displays the username and current status IE;
Username | Status
user1 | Logged Out
user2 | Logged in
user3 | On Leave
So this is working all handy dandy, however what I'd like to do is rather that display ...
Hi there,
I know there is a way to upload images to the database as image type or varbinary type, however, I searched around the entire week, I am unable to find anything that can help me, so this is really my last resort, if anybody know how to upload images to the database, I am using SQL Server 2005 Express.
Thanks
...
I am making a CSS file for an XML document. I need to insert an image - the filename of which is contained inside an element.
This is part of the xml code I am referring to:
<description>
<text> Club Praia is divided and linked by a foot bridge over the main street which runs
through the heart of Praia Da Rocha.</text>
<image...
Are there any documents/tutorials on how to clip or cut a large image so that the user only sees a small portion of this image? Let's say the source image is 10 frames of animation, stacked end-on-end so that it's really wide. What could I do with Javascript to only display 1 arbitrary frame of animation at a time?
I've looked into th...
Let's say you're creating an eBay-like site where users can list items they wish to sell to others and you want to allow them to upload pictures. In order to make the site look as "clean" as possible, you decide that all image thumbnails will render as 100x100 pixel squares on the main page (the full image could be displayed in another ...
How would I validate that a jpg file is a valid image file. We are having files written to a directory using FTP, but we seem to be picking up the file before it has finished writing it, creating invalid images. I need to be able to identify when it is no longer being written to. Any ideas?
...
Hi,
I use an HttpHandler to dynamically serve images in a ASP.Net web application.
I am having a performance issue (Firfox/Firebug/YSlow reports there are too many HttpRequests)
I have between 50-100 images per page in some instances.. 3 treeviews (business units/categories/objects) with each node having its own image ;)
Each item's i...
I'm getting memory leak with UIImagePickerController class.
Here's how I'm using it:
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:picker animated:YES];
[picker release];
To remo...
I want to reduce the number of bytes of an image captured by the device, since i believe the _imageScaledToSize does not reduce the number of bytes of the picture (or does it?) - i want to store a thumbnail of the image in a local dictionary object and can't afford to put full size images in the dictionary. Any idea?
...
Hi!
I am able to extract the images from a PDF file using many Perl modules, but none of them specifies the exact positions of the images being extracted (where the image actually belongs).
Could anyone suggest to me how to extract the images along with their positions?
Thanks in advance.
...
This may be a little confusing but I having some trouble. My goal is to take an input HTML document and then process that document and use the HTML data to output a image document. For example, a user will request a URL, with some action=png in the querystring and then the filter will get invoked for the URL and output image document.
...
I want to be able to link my image. Click on it. Go back to the page and see that it was visited.
I want my visited images to have a different color border when I go back.
My code:
a:link img{border-color:#FFF; border-style:solid; border-width:1px;}
a:hover img{border-color:#03F; border-style:solid; border-width:1px;}
a:visited img, a:...
Hello, I'm trying to make Javascript change the style of certain DIV IDs by changing their background every few seconds. Basically, a fading header...here's my code, and it just doesn't change the background, at all.
How do you call a function?
http://pixolia.net/sandbox/morph/index.php
...