1,537 Topics

Member Avatar for
Member Avatar for rogersjw

Hi all, This is my first post here so please bear with me. I am trying to get my QGraphicsView widget to output as an image. I have the following code. [CODE] def outputImg(self,dir=None): if dir == None: dir = os.getcwd() img = QtGui.QImage(self.size()) print img.isNull() # This == True …

Member Avatar for rogersjw
0
172
Member Avatar for rahulvramesh
Member Avatar for IIM
0
105
Member Avatar for markaroni

I'm creating a simple Slot Machine. one button for the start, and 3 stop buttons on each tiles of Picturebox. my problem is, Every time i clicked each of the stop buttons, the Picturebox won't stop. I need help in which, if i clicked the stop button on a corresponding …

Member Avatar for markaroni
0
459
Member Avatar for a.emara47

I have an image and i want to center it with margin: 0 auto; but it doesn't work so how can i center it in the top of the page ?

Member Avatar for a.emara47
0
182
Member Avatar for kaizokupuffball

Okay, so basically i need a little helpt with some validation code. I need to see if the user has actually selected an image, if not, $error = 1;. I tried this: [CODE]if($_FILES['image']['name'] == "") { echo 'Error: Select an image!'; $error = 1; }[/CODE] I tried several times to …

Member Avatar for kaizokupuffball
0
468
Member Avatar for sirlink99

I am trying to export a project using eclipse, and the Images that I have in a separate folder do not export. I have tried to use [icode]image = new ImageIcon (Toolkit.getDefauleToolkit ().getImage("Image/image.png"));[/icode] and [icode]image = new ImageIcon (ImageIO.read (new File ("Image/image.png")));[/icode] and neither of them worked. It works when …

Member Avatar for sirlink99
0
1K
Member Avatar for Srin

My panel's paintcomponent method draws a line based on the initial click and the current position as the mouse is dragged. Releasing the mouse leaves one line from the mouse press location to the mouse released location. The problem is. on the next click/drag, the old line disappears when the …

Member Avatar for Srin
0
1K
Member Avatar for ptemedia

Hi, I am having problems centrally aligning an image. The basic HTML is shown below. I have taken out other elements that are not effecting this problem: [CODE]<div id="ImagePlaceholder"> <div id="Images"> <img class="current" src="photo1.jpg" alt="" /> <img class="nextimage" src="" alt="" /> </div> </div>[/CODE] and the CSS is: [CODE] #ImagePlaceholder { …

Member Avatar for Arkinder
0
455
Member Avatar for Aviras

Hello everyone. I just started on 'converting' my multiplayer text RPG into a graphical form. What I am trying to do is this: Create a title window, basicly just a JPanel with one image filling the space. To this JPanel I add a MouseListener. When a user clicks the window …

Member Avatar for Aviras
0
423
Member Avatar for FOOLY

In Photoshop, my JPEG image is CMYK. Once imported to Flash, the colors change to become brighter and more saturated. How can I stop this, or what am I doing wrong? Thank you!

Member Avatar for Oveek
0
198
Member Avatar for faroukmuhammad

Hi guys, I was requested to makes a 3D house plan, which a user can be able to move about in, using the keyboard or mouse. Like in games. I'm relatively good in Carrara, VB and C++ but I'm new to game programming. :S I need your help on how …

Member Avatar for Victormarques
0
321
Member Avatar for jonsan32

I've got this scrolling marquee code to work on this page: [url]http://www.jamball.com/2011/07/club-teams.html[/url] [B]but it goes crazy in IE[/B]. [COLOR="Red"]I know IE sucks[/COLOR], but over 40% of our customers use it. Is there a way to fix the script, or must I scrap the entire idea? There is a table in …

0
106
Member Avatar for Farhad.idrees

I m having Problem i want to put green image on black image... my css code is.. [CODE] @charset "utf-8"; /* CSS Document */ #Container { background-image:url(../Layers/Container.jpg); width:1024px; height:768px; background-repeat:no-repeat; } #MiniContainer { background-image:url(../Layers/MiniContainer.jpg); background-repeat:no-repeat; /*margin:150px 10px 100px 150px;*/ margin-top:100; margin-left:50px; margin-bottom:100px; margin-right:50px; } [/CODE] and my html code is …

Member Avatar for Arkinder
0
145
Member Avatar for Boboc

If anyone can help me I would be most grateful, Im curently working on a website at the minute that uses images that have been uploaded to a directory, along with a location reference in a MYSQL database. I have currently got the page to show the thumbnail version of …

0
83
Member Avatar for ARaza110

Hello, Can anyone please tell me how to divide a 3D Cylinder in equal parts. A Cylinder has three fields as defined in the API, TOP, BODY, BOTTOM. I have divided my cylinder in these parts. Now, i only want the Cylinder.BODY (i mean the surface of the cylinder) to …

Member Avatar for mKorbel
0
149
Member Avatar for thecoolman5

hi, i am just wondering how to open a picture of a normal format. I know that you cant do it in the console. And i am using the compiler DEV-C++. Thanks

Member Avatar for mike_2000_17
0
331
Member Avatar for ssreevidya.m

hai, I used FCKEditor in my Application. But when i browse the server any time i get a error window. And the Error as follows: The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its …

0
79
Member Avatar for ARaza110

Hi, Can anyone please help. I am working on Java 3D Cylinders. I cannot color the different faces of the Cylinder differently. TOP, BOTTOM, BODY. All should have different colors. I tried it with different appearances but to no avail. [code=java] Cylinder c=new Cylinder(); BranchGroup contentBranch = new BranchGroup(); Transform3D …

Member Avatar for ARaza110
0
144
Member Avatar for art_wired

Checked the images on this Nike site today [url]http://www.nikebetterworld.com/[/url] and found they were using multiple images at 1000 + kb per image and the site loaded lickety split!! How is this possible??!! I would love to be able to do this but am having trouble uncovering the info for how …

Member Avatar for art_wired
0
239
Member Avatar for sandysans

Digital art, and specifically the art of 3D, is still in its infancy compared with traditional forms of art. The landscape is constantly changing, and as a 3D artist, you have to change him. Maybe, someday, your creations will mold the future of art in 3D. Let's get started! Here …

0
111
Member Avatar for ssreevidya.m

hai, I have a datalist that contain image button control and i bind images from folder to it. I need to get image slide show when clicking on an image. How can I implement it. Thanks in advance, sreevidya.

Member Avatar for barriegrant1
0
357
Member Avatar for ARaza110

Hi, I am working on a university project which seems a little complex for my limited knowledge. But , its about 3D Cylindrical Trees. Every cylinder in essence consists of menu items and hovering over any menu item will open up another cylinder showing further menu items. Can anyone please …

0
98
Member Avatar for oinkpink

Hi, i need help , i wanted images to be for instance 4 in row, before it goes on to the next row, and below the images i wanted a title there. This are my work so far, but i just cant get to what I wanted, i've been searching …

Member Avatar for oinkpink
0
4K
Member Avatar for CrankyMero

Hello Everyone For a project from skool, I been in charge of development, and we already have the system, but they wanted to add images to the project, and since i been using the TableAdapter.Insert commando to add records to the database, I need to know how to send an …

Member Avatar for ZidaneXero
0
404
Member Avatar for jordan0420

I am currently working on a project for my computer class and i am using it as an opportunity to learn pyobjc. i have a database file that includes a path to an image, reading this and getting the path to the image is no problem. my problem is, i …

0
112
Member Avatar for teo236

I want to redraw a JPanel while my program is running. Here's a fragment of my code: [CODE]public class Graph extends JPanel{ public void redrawSomething() { getGraphics().drawRect(15, 5, 20, 5); repaint(); }[/CODE] I tried to call "redrawSomething" but nothing happend. How do I fix it? Is something wrong?

Member Avatar for teo236
0
246
Member Avatar for sudhanshu2

I have written a code but I am getting run time error : I have introduced all the error functions , but no error comes . Debug it with gdb which says : Starting program: /home/sudhanshu/OpenGL_ES/example/cube/cube [Thread debugging using libthread_db enabled] Program exited normally. What is the problem I am …

0
128
Member Avatar for yancouto

Hey guys, I'm working on a game, and I was trying to mirror the gif images inside the program so I wouldn't have to do it manually (And also so it wouldn't use twice as much space to store the mirrored gifs). Anyway, I Google'd it and found [URL="http://stackoverflow.com/questions/1708011/create-a-imageicon-that-is-the-mirror-of-another-one/1708909#1708909"]this answer[/URL], …

Member Avatar for Ezzaral
0
543
Member Avatar for masterofpuppets

Hi all, I searched this topic and found a couple of posts but I couldn't find what I am looking for. Here's the problem - I am trying to send an image to a client (browser in this case) over a socket. After the image is received I am trying …

Member Avatar for masterofpuppets
0
9K
Member Avatar for garromark

Hello, My problem stems from reading an image from the local disk and displaying it. There's a middle step of storing it in a database, but I simplified the problem into this test script that replicates the error: The image "http://example.com/test.php" cannot be displayed, because it contains errors. test.php looks …

Member Avatar for maxterner
0
308
Member Avatar for solvesak

Hi I have been trying to implement the zooming of images on mouse over but could not do it because: 1) I am not doing the 'list' kind of display of images. 2) I dont want other images at several positions to be distorted while one image zooms. 3) I …

Member Avatar for divyakrishnan
0
140
Member Avatar for Labdabeta

I am looking to make a 3D game, I have made plenty of fun ones in 2D using SDL but have yet to attempt a 3D (fps style) game. Does anybody know either a way to do 3D with SDL, or some other similar or easy to use library that …

Member Avatar for dvidunis
0
249
Member Avatar for small_ms

Hi everyone. Talking about 3D games, what would you choose - browser games availability or desktop games cool graphics? You know, as for the quality, desktop games have rich graphics, while browser games (although with quite good graphics), have great availability. Or all these don't matter if a gameplay is …

Member Avatar for roswell1329
0
137
Member Avatar for user20000

Hi, I need to make a browser in C# (I can use webbrowser I guess), and I need to create 2 buttons, one is on and one is off. If user selects on browser will load all the pictures in the page, if user selects off browser will load only …

Member Avatar for crishlay
0
941
Member Avatar for apan

Is there a reliable method to extract the quantized DCT coefficients of a jpeg image? I can see that there is the jpeglib for manipulation of jpegs but I am wondering if someone has already used it and does the job I want to do. To extract the quantized DCT …

0
136
Member Avatar for yousafc#

I want Picture show (image viewer)and this code is not working Please Help [CODE] PictureBox[] arrpic = new PictureBox[5]; arrpic[0] = pic1; arrpic[1] = pic2; arrpic[2] = pic3; foreach (PictureBox pb in arrpic) { picshow.Show(pb); } [/CODE]

Member Avatar for ddanbe
0
148
Member Avatar for Geowil

Edit: Nevermind I found the problem... I used the wrong comment tags (html instead of css...ack x.X). Fixed the tags and it works perfectly now. _______________ Hey everyone I need some help. I am working on a site for a class project for my web design class and it is …

0
146
Member Avatar for kazekagerandy

how can i crop an image based on the size of my picturebox? my picturebox's size mode is normal, i want to have for example, a 100 x 100 image using a 100 x 100 picture box, also i can drag the the image inside the picturebox so that i …

Member Avatar for Jeff-Bennett
0
422
Member Avatar for jeffcogswell

Back around 2004 and 2005, I had embarked on a web project that included the ability for my users to draw on a web page—or at least, that was one of the requirements. At the time, most of my web development had been server-side, with very little JavaScript. Long story …

Member Avatar for arnavbhatkar
1
937
Member Avatar for danielgr

Hi, When I view images on my development PC they look fine, but when I view them on other PC's, the images are sized differently and often get cut off. I've tested this on multiple PC's and the images always get cut off. I've attached the images from my PC …

Member Avatar for danielgr
0
209
Member Avatar for Jollyyy100

Hi, im using dreamweaver and i have a table in which i have an image. When i add another table under the table existing it comes right at the bottom. What should i do to that table so i can move it and place it anywhere around the page. Is …

Member Avatar for Suetan
0
137
Member Avatar for GerryD

Hi all any advise would be appreciated, I upgraded my Gateway 524GB Desktop some time ago with a PNY Nvidia GeForce 7400GS 128MB 128-bit GDDR2 AGP 4X/8X Video Card for better performance. But it appears knackered so I'm getting a new one, the problem is I can't use the in-built …

Member Avatar for GerryD
0
255
Member Avatar for sacredgrim

Hey all I have an issue with building a list of images. Below is the structure i would like to build. basically i am trying to write a script for xsl in xslt or Javascript to read all files in a folder(will only have images in, so no checking will …

0
85
Member Avatar for Jollyyy100

Hi, im using dreamweaver and i have a table in which i have an image. When i add another table under the table existing it comes right at the bottom. What should i do to that table so i can move it and place it anywhere around the page. Is …

Member Avatar for anuj6928
0
115
Member Avatar for chrisvj11

I have 2 images, one is supposed to be on top of the other. This works fine until one of the "movement" keys are hit (a,s,d,w) [CODE]import sqlite3 as sqlite import wx username=None class MainWindow(): def drawmap(self): self.map4_31="C:/python27/game/4_31.gif" self.map1=wx.Image(self.map4_31,wx.BITMAP_TYPE_GIF).ConvertToBitmap() height=self.map1.GetHeight() width=self.map1.GetWidth() self.map1.map4_31 = wx.StaticBitmap(frame, -1, self.map1, (270, 170), (width,height)) def …

0
115
Member Avatar for adamworld

I have this script that I am using that work to upload a file and to make sure the file is either jpg, jpeg, or gif. However, I want to restrict the user with the image width no larger than 150px. Is there an easy way to implement in the …

Member Avatar for adamworld
0
260
Member Avatar for 24x24

This is homework. Please do not write my code for me. I did look for this but only found things related to buttons or making a background, none of which had the answers I needed. I have been working on a game. The game has some images floating around and …

Member Avatar for mKorbel
0
163
Member Avatar for 24x24

I wasn't sure if this should go in games development or here but it's java so I put it here. This is homework so please don't write my code for me. My assignment is to create a game. It has to have moving parts, keyboard controls, buttons, the works. I …

Member Avatar for 24x24
0
388
Member Avatar for ashwinshenoy

Hi Guys, i am in a fix big fix. I have completed my vb project and have created the set up files as well.. Now when I try to install my program on another machine then it gives me an error. I found out the problem and it seems to …

Member Avatar for lolafuertes
0
174
Member Avatar for Francine Taylor

I have a file, "multi.ico" which has four images of different sizes (16x16, 24x24, 32x32, 48x48). Each sized image is a different color, to make it easy to tell which size we are dealing with. This file has been inserted into a resource file "Multi.resources" using Lutz Roeder's .NET Resourcer. …

Member Avatar for abelLazm
0
378

The End.