6,113 Topics

Member Avatar for
Member Avatar for donaldw

I would like to be able to dynamically load and display images in a Windows application written in an old version of MS Visual C++. I'm currently using functions as given [URL="http://forums.devx.com/showthread.php?t=89505"]here[/URL] by Karl Lilje. The pictures display fine when they are supposed to but they are not "persistent" (by …

Member Avatar for Ancient Dragon
0
131
Member Avatar for rahulvramesh
Member Avatar for IIM
0
106
Member Avatar for Jaydenn

Using the basic principle in this code: [CODE] try { GraphicsEnvironment ge = GraphicsEnvironment .getLocalGraphicsEnvironment(); GraphicsDevice[] gs = ge.getScreenDevices(); BufferedImage[] screenshots = new BufferedImage[gs.length]; ImageWriter writer = null; Iterator<ImageWriter> iter = ImageIO.getImageWritersByFormatName("jpeg"); if (iter.hasNext()) writer = iter.next(); ImageWriteParam iwp = writer.getDefaultWriteParam(); iwp.setCompressionMode(ImageWriteParam.MODE_EXPLICIT); iwp.setCompressionQuality(0.1F); DisplayMode mode; Rectangle bounds; for (int i …

Member Avatar for JamesCherrill
0
219
Member Avatar for Gribouillis

How to create a png image containing a fragment of source code ? Well, don't do it yourself, the [url=http://pygments.org]pygments module[/url] contains all the necessary tools. The example below shows how to produce a png image from python code, but pygments supports lexers for many other languages and its formatter …

1
517
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
460
Member Avatar for uselessninja

hi i have a code that uploads an image...but it gives me an error when i upload a photo: Warning: move_uploaded_file(test/ssss.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\test\add.php on line 21 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\xampp\tmp\php163.tmp' to 'test/ssss.jpg' in C:\xampp\htdocs\test\add.php on line 21 …

Member Avatar for uselessninja
0
117
Member Avatar for AhmedGhazey

Guys I ask if any one can help me . i have to write application which take images from web cam can anyone help me , by providing where i must read , as i googled it , and the results weren't good .

Member Avatar for harinath_2007
0
70
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 orville

Hey All I would like to know how to retrieve a image from sql server database. im storing the path in the database..

Member Avatar for yousafc#
0
203
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 ChaseRLewis

I've created a texture format for another program I've designed, but would like to make it so when I go into files I could visualize them within files the way jpeg and png are done are handled. Was curious if this was possible.

Member Avatar for LaxLoafer
0
140
Member Avatar for lps

Currently I am trying to set the bakcground image with several pictures. I tried to combine the pictures using div. The problem now is: how I can set the whole div as background image? Is it posible?

Member Avatar for Arkinder
0
136
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 sirlink99

I have this code which should resize the image in the header. [CODE] #headerWrap { margin-left: auto; margin-right: auto; margin-bottom: 0; width: 90%; height: 7%; background: url('Images/header.gif') no-repeat; } img.image { width: 100%; height: 7%; } [/CODE] and this is the html code to go with it [CODE] <div id="headerWrap" …

Member Avatar for Arkinder
0
149
Member Avatar for sirlink99

I have made this screenshot program in hopes of eventually making a screen recorder, but I am having trouble displaying the image for the user to see. I currently have it so that it displays and saves. When it displays it is blank, but when it saves there is a …

Member Avatar for mKorbel
0
197
Member Avatar for sureshksk

Hi all, I am using struts2 in my application.I stored a image in hard disk using built-in file interceptor and fileUtils.copyFile()provided by apache.commons.io. but I am unable display image to user. <img /> tag is not working. thanks in advance regards ksk

0
96
Member Avatar for alanlee9898

I hope someone can show me how to center images using CSS, which apply to all browser sizes. Website: [url]http://alphaalps.com/gallery.html[/url] Currently only footer is center on every browser size. Thanks!

Member Avatar for Arkinder
0
230
Member Avatar for gonidelux

Hey first of all THX ;) @ add product.php wen i browse image and go save i have this error : [B]Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\plaincart\admin\library\functions.php on line 228[/B] [CODE]<?php /* Check if a session user id exist or not. If not set redirect to login …

Member Avatar for gonidelux
0
163
Member Avatar for msm446

I am trying to help out with a website ([url]http://www.chetekinteriors.com/wordpress[/url]) - the background image is what features the column - it is ran by the css settings in a theme I purchased. For some reason, when I edit the CSS settings for the background image display properties, it shows fine …

Member Avatar for Arkinder
0
224
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 piers

Hi guys I have an image that I need to resize for a website without losing any of the quality. The image has a .gif extention and when I have scaled the image down using GIMP the image goes a bit fuzzy. Do you know any software or method to …

Member Avatar for neotutorials
0
157
Member Avatar for goluman

I am a beginner in openCV and C++ as well.I am stuck in a particular place while trying to implement face recognition in open cv. I have the stored training images in a folder called data the images of first person is stored like 1_john1.pgm 2nd image of first person …

Member Avatar for goluman
0
1K
Member Avatar for hanky

Hi, Please let me know how to resize an Image with form resize event. Also I will have to limit the size so that the image size is not larger than the scrreen width and so small so that the text in the Image is illegible. Also, please let me …

Member Avatar for Awon02
0
255
Member Avatar for ebanbury

Hi I have 3 image placeholders taken from a recordset. If the image URL is in the database table column then the image shows as you would expect. However if no image exists I want to force the code to pick up a blank image from location: propertyimages/dot.gif Current code …

Member Avatar for ebanbury
0
93
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
424
Member Avatar for Oneryavuz

[CODE] Public Sub imageload(ByVal index As Integer, ByRef imagedescription() As String) Dim da As New OleDbDataAdapter("Select Foto From Images where Photoindex = " & index & ";", Form1.baglanti) Dim dt As New DataTable Dim ms As New MemoryStream da.Fill(dt) If dt.Rows.Count > 0 Then Dim arrimage() As Byte = dt.Rows(0).Item(0) …

Member Avatar for Netcode
0
2K
Member Avatar for jeraldmuthu

Sorry **How to add image in pdf header.** i get the image url in String. String Image = request.getContextPath() + "/pdf.gif"; parameters.put("pageHeaderText", Image); i passed to the xsl <xsl:value-of select="$pageHeaderText"/> but the after generating pdf the url path of Image i get into the string displaying(not Image) in the header …

0
105
Member Avatar for bow103

Hi all been working on this for a couple of days. I want to upload 4 image names to the mysql database and upload the images to a folder on the local server. I also want to display my images that goes with the text data. So far I can …

Member Avatar for bow103
0
380
Member Avatar for bhagawatshinde

Hi, how i can set background image toToolStripMenuItem in c# at testToolStripMenuItem_MouseHover and testToolStripMenuItem_MouseLeave events. I have tried this but it doesn't work for me..[CODE] testToolStripMenuItem.BackgroundImage = Image.FromFile(Application.StartupPath + "\\Button\\BIGBUTTON\\Test Centre-OVER.jpg"); [/CODE] When i put MouseHover on testToolStripMenuItem it will display one blue spot on particular after mouse leave image …

Member Avatar for nmaillet
0
254
Member Avatar for orville

Hi Can you plz help me with removing a image uploaded frm picture box. With a button_click event

Member Avatar for samee1985
0
90
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
199
Member Avatar for pablocremita

Hello, First of all, sorry for my english. I will try to make me understand. I'm doing a program with CodeGear C++Builder 2009 that manages a few tables. The tables were created with Database Desktop 7.0 (dbd32). Between these tables there are a table whose name is 'Evaluation'. His estructure …

Member Avatar for gusano79
0
557
Member Avatar for donut166

Hi peeps! Whenever I open a program such as google chrome, i get the message: The application or DLL c:\windows\system32\gayujoje.dll is not a valid windows image. Please check this against your installation diskette. Can anyone help me with this problem? Thanks. I think a virus has invaded my computer. I …

Member Avatar for donut166
0
248
Member Avatar for 47pirates
Member Avatar for faroukmuhammad

I've images stored in a database as OLE objects and I want to display them in my datareport, So I added an imagebox and connect it to the image field but the images won't show.:(

Member Avatar for faroukmuhammad
0
72
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 Peacer

Let's say the website has this code: [url]http://www.hypergurl.com/randomimage.html[/url] What it does is each time you load the page the script generates a random number and loads the appropriate image. Let's just say that the image is an image of that number and this website displays this random number in text …

0
45
Member Avatar for sirlink99

I am creating a program that will simulate a fish tank (got it off of google) and when I try to get the image using [CODE]mClownImage = getToolkit().getImage("Fishes/mClown.gif");[/CODE] the getToolkit() part gives me an error. it suggests that I make a method called that. I have imported java.awt.Container; which contains …

Member Avatar for NormR1
0
73
Member Avatar for neclark2

Does anyone know if there's a function in php that will allow me to convert a string into an image?

Member Avatar for cereal
0
759
Member Avatar for sushil1234
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
146
Member Avatar for vaultdweller123

hey guys anyone know here how to browse image from server? currently the code <input type="file" name="file" id="file" /> is browsing from my computer. I want it to browse from the server, is it possible? thanks in advance

Member Avatar for urtrivedi
0
421
Member Avatar for azna

Hi, I want to know what the step to enlarge the picture in joomla 1.5 . FYI, i already installed suitable plugin but not working. Thank you.

0
77
Member Avatar for ajsmug

Recently I dropped my Sony Viao Laptop. Before I dropped it the laptop worked fine. When I picked the laptop up, the LCD screen was all messed up. you could see the full windows page, but it was smaller than it was originally. the right 1/3 side of the laptop …

Member Avatar for mikemikemike
0
374
Member Avatar for Braga_ESI

Hello, I'm having a problem. you see, I'm living in a house that has a internet conection thrue a computer(PC1) that has a ADSL modem. só this computer is linked to standard switch with 8 ports. until now thereś no problem. the problem: I byed a new PC and a …

Member Avatar for AJR1415
0
334
Member Avatar for cobberas

Hi folks I have several JPEG thumbnail images in a database and need to select particular ones, stitch them together and post them into single cell in the table on a website. I've created the following query: [CODE]SELECT s.Set_Code, t.Mimetype, GROUP_CONCAT(t.Image SEPARATOR '<&nbsp\;>') AS 'Image' FROM Thumbnails t INNER JOIN …

Member Avatar for cobberas
0
1,000
Member Avatar for tobeeornot

Hi, I am trying to push the text down in the main content container so it aligns neatly beside the image. I know I could incorporate the cup and tin image into the background and do it from there but I want to do it using css. Any suggestions? Here …

Member Avatar for tobeeornot
0
116
Member Avatar for hbmarar

Hi, Please do help me as I am not sure whether javascript based solution is enough for getting the below needs met. 1. [url]http://www.sevilla111.com/[/url]. Like in this site, I am thinking whether the menu link click could move the background image to predefined mapped location as zoomed in. 2. Can …

0
102

The End.