1,537 Topics
![]() | |
Hi all I have the following script 99.9% working for uploading a single image to a database - Storing the file in a folder and placing a link to the file in the database - The only problem im having now is when the image is uploaded the extension of … | |
Hello, all! :) Let me preface this by saying that I am a computer science student with only a rudimentary introduction to C++ so far, having worked mainly in Java up until now. I apologize if this is an overly simplistic question. A relative of mine has asked me to … | |
Hi all. I've tried to make a simple hover effect about small images but it won't work. I also tried to make the following script: 2 seconds after page loading image1 changes 2 seconds after that image1 returns to back state and image2 changes and etc. Can someone help? Best … | |
Hi I've been looking for this one like crazy but I just can't find it. Hope anyone can help me out. On my [URL="http://www.ivalue.be"]website[/URL] I have a sliding banner that uses a background image 'repeat'. It shows up perfectly in Firefox, Chrome, Safari but not in IE. I've tried many … | |
I have been waiting for three days now for someone in the IT department where I work to update Acrobat so that I can use it. I don't know why they're taking so long because all they need to do is log in as an administrator then click "update" on … | |
Is my HP Pavilion dv5 Entertainment PC compatible with ATI Mobility Radeon HD 5870 Crossfire? Sorry.. Title Wouldn't Fit In The Title Box.. hi, had my laptop a couple of years.. its been through good and bad.. and i'm looking to give it a little something to help it keep … | |
I have an HTML/JSP page on which I have to display all the images stored in a folder. For this I have to use Java. Please tell me how this can be done. Will appreciate if it is possible to provide code for explanation. Thank You | |
what are your thoughts and is it original? [CODE]using ratios to retrieve relevant pixel data (note would be good for greyscale) 255,255,255 ... 255+255+255=765 ... 765333 = 765 / 3 = 255 ... program know it means 255,255,255 123,245,32 ... 123+245+32=400 ... 400-3.25,1.63.12.5(<--- problem) |400-(3.25)-(1.63)-(12.5) = 400 / 3.25=123.08 -- … | |
Hello, I am new to this site and to C++. I have been following a tutorial on how to make a Tetris clone in SDL and C++ from the following site : [URL="http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html"]http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html[/URL] When i was finished going through it all and sorting through all the petty errors I had … | |
I have purchased a new laptop, Acer Aspire 5738z a year ago. Since the second month of using it, I wondered why the maximum Graphics Memory in Use is 128 MB... Am I misunderstanding what "up to 1244mb Mobile Intel GMA 4500m" means? Thanks in advance... [QUOTE] Intel(R) Graphics Media … | |
![]() | Hi All. I am trying to display images using the while loop but I want the pictures to be displayed like this. [ATTACH]16585[/ATTACH] The only thing is, I don't know how to do it. Any help would be much appreciated. Thank you in advance Cameron |
In my projet, I can't find how to determine which image and pixel coordonate when I clicking image in 2 different ScrollArea. The result was showing in statusBar() area. (See screenshot) I put a code in txt file with 2 jpg use with it. Thanks in advance. [CODE] from PyQt4.QtCore … | |
i had an idea to make my own file formats but... have nearly zero coding experience. the image is just text which a program would parse and receive relevant pixel data from it(like xml based stuff). i wrote up some plan for the file: [CODE] `meta data [(title)test image] [(date)1,1,2010] … | |
Hi. I really know very little about linux scripting. And I need help writing this script. The script is to get one parameter which is <directory>. And than the following will ensue; [CODE] for each image within directory [INDENT]if not(image exist in temp-directory) [INDENT]cp image to temp-directory and resize to … | |
Hello. I have started to learn OpenGL in C/C++ and I want to use 2D graphics. My operating systems are Windows XP and Linux (Ubuntu). How do I load a image from a file and draw it on screen? My image files are png and jpg. Can I write a … | |
I need help on this css content box I want the content2.png to extend as long as the data on the table goes but I dont know how... the content of the table is dynamic and would vary through the mysql data It retiles whenever the text is long and … ![]() | |
hello, I am novice in the field of visual basic. In my project i want to store and retrieve image from the oracle database from the FORM in run time. i don't know how to do. i read several articles on web. i hadn't got much idea and clear view. … | |
Hi all, I developed a GUI application using PyQt which comport a QGraphicsView. In this QGraphicsView I have a QGraphicsScene with a lot of items (more than 10'000): polygons, rectangles, texts, etc. How can I save it as an image like it appears on the screen (.png for example)? I … | |
This question is more from curiosity than necessity. I've been playing with the Java2D API, and I noticed a weird quirk with using Active Rendering. The Graphics 2D object doesn't appear to do anything the first time I use it. My code basically looks like this (I know it isn't … | |
Hey guys,,here is a code that i got to upload an image,,,,i seriously dont understand wat s going on in this code,,,could some one help me out,,,,pls,, [code=vb] Private Sub mnuRecordAdd_Click() Dim rs As ADODB.Recordset Dim person_name As String Dim file_num As String Dim file_length As String Dim bytes() As … | |
ok so im trying to use double buffer to make smooth animation but i can't get it to work here is the code for my drawing [CODE] VOID onPaint(HDC hdc,HWND hWnd) { HDC hDC=GetDC(hWnd); HDC memDC = CreateCompatibleDC(hDC); HBITMAP hMemBmp = CreateCompatibleBitmap(hDC,300,300); HBITMAP hOldBmp = (HBITMAP)SelectObject(memDC,hMemBmp); Graphics graphics(memDC); Pen pen(Color(255, … | |
Hello! I need to extract a custom shape from a given image. That custom shape can be, for example, a triangle. For example, if source picture is 100px width and 100px heigth, I need to define a triangle with points: (x=0 y=0) , (x = 50, y = 50), (x … | |
Please can somebody help with this. I want a Buy Now image to go to the producturl in the database, at the moment I am just echoing , so it only shows the text of the url in the cell. my code currently is [code=php]echo $row['ProductUrl']; echo "</td></tr>"; [/code] Hope … | |
Hi everyone. I am trying to figure out if it's possible to write a PHP or JavaScript that changes the background image every time the browser refresh button (or F5) is pressed. I haven't seen it done this way, however I have seen it done for banners and other images. … | |
Mobile phones are constantly evolving and improving to the point that they are akin to the PC market of the mid-nineties, when it seemed as if your desktop was horribly outdated six months after purchase. Bag phones became brick phones, which evolved into the iconic flip phone. The advent of … | |
Ok, I did search on this site and found nothing that really helps with my issue. I am doing assignment - JPartyPlanner - I have the applet complete, it compiles and shows in IE great, BUT when I add the image code it still compiles but I get nothing showing … | |
Hello all, I have spent a good few days looking over daniweb trying to get the right answer, But I am yet to find what I am looking for. I have successfully upload my image to a folder store and named my uploaded image. The path and file name is … | |
[ATTACH=right]16339[/ATTACH]3D technology is quickly becoming a must-have feature for TVs, monitors, and cameras. It may end up being a fad, but 3D still has a long way to go before it's fate is decided. One venue that has yet to be explored from a retail standpoint is dual-2D projections from … | |
I am creating a game in which I import images from files to represent characters, etc. I have created a class called Contents which represents anything that can be placed on a tile of the gameboard. A subclass of Contents (by several levels) is Wizard, to create a wizard character. … | |
It may seem like a simple answer, but how do I pass an image to a bitmaps constructor. for example: [CODE]Bitmap bmp = new Bitmap(########);[/CODE] what would I put in place of the pound signs If i wanted the default image to be C://Users/Me/Documents/Visual Studio 2010/Projects/MyProject/Image.jpg Please help. | |
I have started Computer Graphics using C recently. below is the code for drawing a line using the 'line' function. I am using Code::Blocks 10.05. I need help with some kind of linker error. this is what i have done till now. [LIST] [*]installed C::B with all default setting. Then … | |
I have A webcam Class and have it so the image in my picturebox displays the live webcam feed. When I click the "Capture" Button, I would like to save the current image being displayed on the picturebox. How would I do this? | |
Hello, I have created an application that passes a Handle of a panel to a DLL which is then used for creating a DirectX or OpenGL render window, all of which works fine. I wish to duplicate what is rendered in the panel elsewhere (basically multiple render windows all rendering … | |
Hi there Expert Designers, I am building a Web form for a medical institution, can you give me an advise in how to make this form look cool??[code]<%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" EnableViewState="false" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script type="text/javascript"> function OnClick1() { if (divCalendar.style.display == … | |
It is often said that good things take time, and if that is true then AMD’s Fusion should prove to be exceptional considering the fact that it has been in the works since their $5.4billion acquisition of ATI four years ago.[ATTACH]16179[/ATTACH]The [URL="http://sites.amd.com/us/fusion/APU/Pages/fusion.aspx"]official AMD copy for Fusion[/URL] reads as: [I]“AMD Fusion … | |
I have a small application that tries to launch a slide show for a set of pictures (jpg). It is implemented by a timed ajax routine to get the next picture filename and updating the image src field to show the next picture. The problem is that the actual down … | |
For my intro to programming class i have to design a game where a ball is shot at an angle and hits squares that are worth points. I have two questions 1.How do you get the ball to move. I was given this code but I don't know if I … | |
Hey all, I just started programming C++, (only formiliar with matlab/mathematica for image processing) . I like to find the min of my grayscale image. My image is a part of frame token from a webcam. But I don't even know what type of object my image is. Is it … | |
Maybe you're among the few who have seen the changes already; Google Images is getting a facelift this week. Google announced Tuesday that the familiar landing page for an image search will be changing and the site will offer more sophisticated technology for the 10 billion images it has indexed. … | |
i want explore the use of PIL but my first try got me this error : ImportError: " No module named ImageGrab " i tried it in terminal by typing 'python -v', 'import Image' but im broke. please help! thanks[CODE] import ImageGrab capture=ImageGrab.grab() capture.save('screen.png')[/CODE] | |
Can someone tell me how to display an image with pygame. By the way I am using python 3.x. | |
I am working my way through an online book--Intro to Java Programming by David Eck--and in it he says that it is generally considered bad style to use the getGraphics() method to draw outside of a component's paintComponent method. Does anyone know why this is? | |
Apple has kindly donated the source code for the original MacPaint software to the Computer History Museum in Mountain View, CA. This is in large part thanks to the [URL="http://www.engadget.com/2010/07/20/computer-history-museum-makes-original-macpaint-source-code-avai/"]exhausting efforts[/URL] of Andy Hertzfeld, one of the original members of the developmental team for the original Macintosh in 1984. When … | |
In my projet, I can't find how to determine which image and pixel coordonate at clicking image in different ScrollArea. The result was showing in statusBar() area. (See screenshot) I put a code in txt file with 2 jpg use with it. Thanks in advance. | |
Hello everyone, I'm working on a program that reads a PNG and extracts a custom chunk from it (using libpng). But now I've got problems to actually register my callback function to handle unknown chunks. According to the official documentation I have to declare which chunk is "unknown" (by their … | |
Is there a way to create a div or some container in which there will be an image such that the image fills the container but retains its aspect ratio? So if the container is 100px x 100px and an image is 200px x 100px it will be resized to … | |
Gentlemen, your suspicions have been confirmed - your lady/girlfriend/wife [I]is[/I] addicted to Facebook. [ATTACH=right]15821[/ATTACH]That's the finding in a new survey of 18-to-34-year-old ladies by Oxygen Media (think Oprah). It found that over a third of the 1600 women polled - 39% to be exact - describe themselves as "addicted" to … | |
I'm making a JPanel for a game. I want the background to be an imported image, so I set up a ClassLoader to import the image and converted that to a URL. However, that URL appears to be null, as when I try to put the panel into a JFrame, … | |
Hi all, An issue i've never come across before. I've got a picture as a background which i declare in my css file. The div (wrapper) is 960px wide and 100px height, the image is to sit at the top left so no real placement needed. I then have another … | |
Any suggestions on how to get fonts from an external drive rather than on my local drive. Here is what I use now: [CODE] GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); Font[] fonts = ge.getAllFonts(); // Get the fonts for (Font f : fonts) { System.out.println(f.getFontName()); }[/CODE] |
The End.