6,113 Topics
![]() | |
I want to add a selectable image to a PadDraw() of a JFrame container. So how can I do it? I've got a idea that it can be done by JLabel, but I think it's not selectable. So, how can I add that? | |
Hi guys, Can any one help me , i want a code for capturing snap through webcam i have a form where i placed a button, what i want is when i click that button it capture a snap and save it in c: drive ? | |
I am doing a project like a car gallery system and need to ask for help... Suppose I want to create a class call [COLOR="Red"]"Brand"[/COLOR], it is basically just to store the brand name, a brief description, and also need to give it a picture. Says: Toyota, it is a … | |
Hi, is there anyone out there who has any little knowledge of how to got about getting ur program to read a .bmp file? Pls teach me or show me an example just about how to get ur program to read .bmp files Cheers Ming | |
Hi, I am using below code for sending attached mail when i am sending an image as attachment i am getting image file in .txt extension. Need suggestion for sending only image. [CODE] $file = $_FILES['uploadedfile']['name']; $target_path="upload/"; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path); $fileatt = $target_path; // Path … | |
Hello. I am trying to fix this for about 10 hours and i can't do it. I got a template from web and trying to make it dynamic. Somehow, i did something till now.. It get images from a database. Each picture is kind of a gallery and is somewhat … | |
hi, i'm new to vb.net.is it possible to link item in drop down list to image? for example if i click "computer" in the drop down list, the image of the computer will appear. sorry if my question sounds silly. i'm really a newbie in vb.thanks for ur help. | |
hello all In a cells of a datagridview I place a gif image name new.gif . I can show it immediately after the the form load even I try to print this datagridview cell(0,0) value which is an image name new gif: Object imgobj= dataGridView1.Rows[0].Cells[0].Value; but then I do not … | |
Hi all, I am working on a small project using Dreamweaver. I have a marquee with many images. Everything works fine in Dreamweaver Live View ( images keep coming out from the right end and disappear into the left end). In IE8 (which supposedly fully support marquee, right?) , once … | |
Hi all, Does anyone know how to convert raster images(bmp) to vector images using C#?. My task is to convert raster images(bmp) to list of vectors using C#. I surfed in the net, got many open source tools which does the job, but my constraint is not to use any … | |
I'm using sessions to receive my info from my database table... But I'm not quite sure how to get a image because if I just say this: [CODE]echo "<img src='" . $_SESSION['pic_location'] . "' />";[/CODE] I only get like a little black dot thingy. I don't know if one could … ![]() | |
I was wondering about something, when I have a navigation bar(at the top), and I have two images to the links. one just there, and the other when I hover with mouse. How can I make the images stay hovered when Im in that page. for example, if I have … | |
hii I am trying to develop a simple image browser.this is wat i have done so far [CODE]from Tkinter import * top=Tk() def search(): global pic global photo pic=PhotoImage(file='images\\pic.gif') photo=w.create_image(250,200,image=pic) w=Canvas(top,height=500,width=500,bg="white") entry=Entry(top,bg="white") nxt=Button(top,text="next",activebackground="blue",command=next) prev=Button(top,text="prev",activebackground="blue") b=Button(top,text="search",activebackground="blue",command=search) b.pack() entry.pack() nxt.pack(side=RIGHT) prev.pack(side=LEFT) w.pack() top.mainloop() [/CODE] as u can see it will display a … | |
hi, I use an image button to post a form. Let's say the button is on A.php and form target is B.php. when clicked, B.php comes but with extra arguments in the url. As far as I understand they are the coordinates of the point I clicked on the button … | |
i have an project encrypting an grayscale image in c language. Before encrypting first i want to calculate its header that define it file format, and convert image data into a binary value. i don`t know how to do this please help me? | |
i want to design an application where registered members will upload their passport photograph along with some basic information on a form. These members should also be able to view thier profile showing there passport. Please I need someone to help me with a script. | |
Please can someone help me out here, I know that this is not the right place for this forum but I assumed that experts would be here to help me out too as I have written to wordpress but no response. 1st: how can I remove image file link in … | |
![]() | I found a website that has a really cool effect for their links. The link is an image, and when you hover over it, it plays an animation, and after looking into it more, it seems that they use a single image with all of the different frames for the … |
So, right, I just started to use Photoshop CS4 and I've only been using it for 3 days. I love it. Not Nuff said though. Cause I know you want to see my artwork raight? Probably not but I actually feel quite proud of the stuff I've drawn... So I'll … | |
I have gridview which display images previous and next. i want to popup (display) big image of particular image which is cllicked. Please help me. | |
hi i m working on a projct and i want to use images as background ...and i want to load the adobe photoshop image but its not working.. image1.picture = loadpicture("c:\image.PDD") but its not working .. nw what i do.. any other exple to for backgroung image but i make … | |
how to make an image pop up using web application by just moving pointer over it and back to same seize as soon as pointer moves out. | |
I am trying to load a background in full screen mode, but when i run my program the screen is just white. Can someone point me to the reason why? [CODE]import java.awt.*; import javax.swing.*; public class DrawComponents { GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice device = env.getDefaultScreenDevice(); GraphicsConfiguration gc = device.getDefaultConfiguration(); … | |
For my internet programming class I have to create a XHTML file that has an image in it, among other things. The problem that I am having is that when I open up my file on other computers the image will not load. The file path is valid on my … | |
i have a image file with extention .tif I have set ports for sending and receiving file. I have configured sending port to a folder and receiving port to a folder. My sending folder's name is send1 and receiving folder's name is receive1. Now i want to do that whenever … | |
As most of us know in tkinter in order to properly display an image it must be assigned to a variable, however what if you don't know that amount of images that are going to be necessary? i.e. A friend list, how would one display the friends pictures? | |
Hi! I'm trying to show 5 random images from my database and i seem to be stuck. Would appreciate some help or tips. I obviously dont want any duplicate images. Have tried to figure it out by googling butt my head hurts too much xD Got thumbnails for the picture … ![]() | |
I have made picture viewer in VB which also shows all the pics present in a folder as thumbnails using image list and listbox. The problem is whenever the user clicks refresh it takes long time for the image to load. I want to some how make a cache like … | |
The following code works: [CODE] public class Main { public static void main (String args[]){ final JWindow f = new JWindow(); JLabel l = new JLabel(new ImageIcon(Main.class.getResource("images/logo.png"))); f.getContentPane().add(l, BorderLayout.CENTER); f.pack(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension labelSize = l.getPreferredSize(); f.setLocation(screenSize.width/2 - (labelSize.width/2), screenSize.height/2 - (labelSize.height/2)); f.setVisible(true); f.setAlwaysOnTop(true); } }[/CODE] When I … | |
[ATTACH=RIGHT]18689[/ATTACH]DisplayLink is a combination hardware/software technology that enables users to connect almost any kind of monitor to a PC via USB. It is designed to make adding additional monitors very easy as well. You can add up to 6 displays without installing another video card. Simply install the DisplayLink software, … | |
Hi everybody ^^ I'm quite a newbie in loading image file, so I've try to improve myself by loading the TGA image structure (You can found it at [url]http://en.wikipedia.org/wiki/Truevision_TGA[/url], I'm quite believe in the information there) My problem is after loading and draw it onto the screen using OpenGL ES, … | |
Hello, I am trying to make an application that will run a simulation on a headless server. In short, it does the following: 1. load an image from the database 2. display a text as an overlay on top of the image 3. capture the 'screen' and save the image … | |
i'm trying to write a game that show a background and a player on screen simultaneously using 2 different classes. here are the relevant parts of the program, or at least i think [code]public WorkingTitle2(){ super("Working Title"); setSize(550,429); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); loadPictures(); loadSounds(); pp = new PaintP(); pb = new PaintB(); add(pb); … | |
i have 3 images, 2 are feather's images and 1 is text image i am trying to put these two feather images(which are in png format so to be transparent) in opposite corners as well as in front and 3rd text image should come from behind of the start of … | |
I made website for the computer shop,i have to display image & price of the components for that i made sql database(laptop.mdf) with columns(model_no as varchar(50),company as varchar(50),price as int,picture as image). image of component is stored in the picture column.i an already inserted image directly by writing sql query … | |
Hello there! :) For the last couple of days, I've been working on a new project. The idea is to create a virtual adoptable pets system integrated with my forums. While I have much of it covered already, I am new to dynamic images and the GD library. So I … | |
Hi everyone! I have a problem about image download from web browser.I'm working asp.net platform.I wanna download image directly but the image open on the browser.Can you help me about this? [U]My HTML code:[/U] <a href ="http://domain.com/file/image.jpg" target="_blank" /> Download </a> | |
Hi I know I have been going round the houses with this image resizing quite a bit...but still trying to do it. Some progress has been made. This is not using Imagick, as I have no idea about this library. So what the below code is now doing is picking … | |
Hi there, My computer has been working fine until this morning when it froze shortly after logging into Windows (mouse/keyboard unresponsive and frozen display etc). I switched the computer off and on again, and from this point my monitor has been displaying a 'no signal' message when the machine is … | |
I am working on part five of the Farmers Market program and am ready to pull my hair out. Not getting much help from the instructor either. here is the code [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. … | |
Can you guys give a code or something. Any simple graphics would do. i have initiated my graphics.h I've tried using the codes i found online but they give me errors. LINKER errors. Please help me. Thank you! | |
I am trying to build an animation. It just has two pictures or scenes. I want it to start at one picture and end at another. When I run my project all I see is a blank screen. I have checked and made sure that my Image paths are correct. … | |
Hi, At the moment I am stuck with a problem where I have googled and googled and yet still can't find software that does what I want. Basically all I want is to be able to take images of an object from all different angles or even do lets say … | |
Hello. I'm going to show you how to make a basic php image gallery. Firstly, create the following files [LIST] [*]index.php [*]view.php [*]/images (dir) [/LIST] Now, for the code. index.php [CODE] <?php $img = array(); $img[] = array('title'=>'img1', 'src' = 'img1.jpg'); ?> <html> <head> <title>mygallery | homepage</title> </head> <body> <h2>mygallery</h2> … | |
let me preface this by explaining the reason i'm writing this code.. i've been writing an x86 PC emulator in FreeBASIC, and this program is designed to test it's handling of video mode 13h, including palette manipulation. i thought in addition to being fun (at least for a nerd like … | |
I am trying to do basic animations with images, and I am wondering how I could get a smaller image from a larger one without going through and editing it. I made a sprite [URL="http://translate.google.com/translate?hl=en&u=http%3A%2F%2Fwww.famitsu.com%2Ffreegame%2Ftool%2Fchibi%2Findex1.html"]here[/URL] and downloaded the image. As you see in the thumbnail the animation is from all … | |
Basically what I need to do is take a number of elements, lets say 6 in this case, all of which are div's with an image child e.g. [CODE=HTML] <div class='triangle-element'> <img src="../images/face.jpg" /> <div> [/CODE] I want to be able to eventually take each instance of .triangle-element and turn … | |
Hello mates, I was wondering if in that vast amount of knowledge floating around here if any of you knew how I could save an image using Python 3.x. I know that PIL is a great, and easy option for Python 2, but I assume there must be some way … | |
I'm a web design student who has designed a website for a family member in my spare time. The website uses 5 html documents and all share one css document, it has no jscript docs. Recently, we learned how to use jscript to set up an image gallery in class … | |
I have a full page image map background and in the lower middle a black area that I would like to place a dropdown menu for selecting a page ... anyone have any idea on how I could accomplish this ... I have been designing websites for a while and … |
The End.