6,113 Topics
![]() | |
i cant seem to print imageicon in board.java. any ideas? i got two files. board.java and WorldBackground.java i have a WorldBackground.java where i am create background image import java.awt.Image; import javax.swing.ImageIcon; public class WorldBackground { static ImageIcon background = new ImageIcon(WorldBackground.class.getResource("Images/backg.jpg")); public static Image getBackground() { return background.getImage(); } } … | |
Hello everybody I would like to load an image from my documents and display it in a pannel and select a part of my image a rectangle for example and save it, I saw your response Ezzaral it's very interesting but the problem is that I can not integrate it … | |
I am trying to add a logo into cells A1:J1 (they have already been merged). I have the logo set as the background of 2 different userforms. I can't figure out how to get the image from the background and into the merged cells on the worksheet. PLEASE HELP!!! | |
Hello, I basically trying to place texts on top of images. I have this in css: #bannernavtext {margin: 200px 0 0 750px; font-color:black; z-index:0; } #nav li { float: left; margin: 0 0 0 4px; list-style: none; background: url('images/banner nav.jpg') no-repeat top; z-index:-1;} #nav li.activeSlide a { /* background: #88f … | |
Hi guys! I'm not computer savvy and need your help and suggestions. And what do you think about my PC? Is it like really old? CPU-Z TXT Report ------------------------------------------------------------------------- Binaries ------------------------------------------------------------------------- CPU-Z version 1.61.2 Processors ------------------------------------------------------------------------- Number of processors 1 Number of threads 2 APICs ------------------------------------------------------------------------- Processor 0 -- Core … | |
Hi, I want to create a program where I enter my data and it creates an image. I want to have the option to easily save the new created image. I provide you with an image with some data and I want you to create the same image containing new … | |
sir i would like to know how to encrypt an image in java (the classes and how to proceed) | |
Hi Guys, I have an xml file contains the imagedata attribute. now while reading xml file using dataset i was setting this field to string and insert it to another table that have also image field. when i am tring to retrive this image it's not a actual image. <ImageData>/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBkZWZhdWx0IHF1YWxpdHkK</ImageData> … | |
this is weird, I have form and on this form three file uploads and submit button, when i change the button to image (so it looks better than this old thing on my website) it does not upload the files The button however works 100%, am i missing something here? … | |
I am trying to dynamically resize an image which is in the relative layout using the code int height = v.getHeight(); int width = v.getWidth(); height += 50; width += 50; RelativeLayout.LayoutParams layout = new RelativeLayout.LayoutParams(height, width); layout.setMargins(200, 200, 200, 200); layout.addRule(RelativeLayout.CENTER_IN_PARENT); v.setLayoutParams(layout); The rule works perfectly. The image gets … | |
![]() | Hi I'm having issue with editing the **Input Type** in **2** different position. I want to edit and add input text in the img. I also want to edit and add input text in the content. What I want to learn is how to add **2** **Input Type** areas in … ![]() |
I quit using Windows last year, except occassionally (XP). My hobbies and love is music (playing jazz guitar and using editing software, my favorite programs being Ardour and Audacity) and photography (favorite programs are Darktable, Gimp and Shotwell), using the Linux distros, Ubuntu and Lubuntu, which I am happy with. … | |
Hi, I've problem in displaying image on my rdlc (Microsoft Report Viewer) report. I took picture box on my report and made its properties as SOURCE=EXTERNAL, VALUE=Parameters!Path.value where Path is my Report Parameter. Below is the code to display image on Report load event: Dim paramList1 As New Generic.List(Of ReportParameter) … | |
Hey guys. Creating games is one of the best things you can do, am I right? However, nowadays you can choose between so many languages, gfx libraries and game engines. So lets vote! Whats your favorite programming language for making a game? Whats your favorite graphics library? Whats your favorite … | |
![]() | Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are … ![]() |
Hi All: I have this code below that uses an open common dialog box to dispay 5 horse pictures. Does anyone have the code to display the pictures on the Form only by passing the horse picture names as parameters when I call the subprocedure in the mnuViewNext and mnuViewPrevious … | |
Hello guys, I made a simple program that Add, Saves, Edit & Retrieves Data from a MS Access DB... Dim arrImage() As Byte Dim strImage As String If Not IsNothing(Me.ImageBox.Image) Then Me.ImageBox.Image.Save(myMs, Me.ImageBox.Image.RawFormat) arrImage = myMs.GetBuffer strImage = "?" Else arrImage = Nothing strImage = "NULL" End If myqry = … | |
Hello, I am new to java, and I need help with images. I am trying to move an image up the screen while still allowing another image to move using the arrow keys. If I use `thread.sleep` to move the image, I cant move my other image at the same … | |
Hello. I want to make a File->Open menu functionality to this program. In JMenuBar I think I create everything correctly but it doesn't display when I run it. How do I display it and make the Open functionality work? package oimg; import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; import … | |
hai, everybody, I have multiple checkbox fileds. how to add images in each fields this is my templete my plan type field is 10 types. user select plan type 1 add image1 plantype2 ->addimage2.png <div><span class="field-label">plantype: <img width="20"src="images/layout/image1.png " /> <?php echo str_replace(',','<br/>',$meetnewpeople['plantype']) ?></span></div></br> $this->widgetSchema['plantype'] = new sfWidgetFormChoice(array('multiple' => true,'expanded'=>true, … | |
Hi I have the following web page: www.createtime4u.com/index - Copy.html Most of the page is now pretty responsive to changes in the desktop size (I haven't added any media queries for mobile etc yet) However I'm really stuck on this CSS slideshow. Most of the CSS for this slideshow I've … | |
I currently found a piece of code on a website but i can't get it to work it always reports fail. Pls help. Private Function FindImage(Image1 As Bitmap, Image2 As Bitmap) As Point For y = 0 To Image1.Height - Image2.Height - 1 For x = 0 To Image1.Width - … | |
Hey guys, Having an issue with a webpage I am building. I can get it to save the name of the image, however when I echo it out and im trying to include it as an img src tag it tells me I have a syntax error. I think this … | |
hi, okey here's what i'm trying to do.. i'm making a gallery .. when u roll over on the thumbnail -which is actually a text image- the big photo swaps to a 50% opacity image and when u click it swaps to the same photo with 100% opacity so what's … | |
Hello, The following script writes to a file include.php <?php $path = "./files/"; $path2="http://".$_SERVER['SERVER_NAME'].dirname($_SERVER["PHP_SELF"])."/files/"; //echo $path2; $folder = opendir($path); $start=""; $Fnm = "./include.php"; $inF = fopen($Fnm,"w"); fwrite($inF,$start."\n"); while( $file = readdir($folder) ) { if (($file != '.')&&($file != '..')&&($file != 'index.htm')) { $result="{\nlevels: [\n{ file: \"$path2$file\" }\n],\n\ntitle: \"$file\"\n},\n"; fwrite($inF,$result); } … | |
![]() | hello i got alexa charts links from internet today <!--Daily Traffic Rank Trend--> <script language="JavaScript" type="text/javascript" src="http://xsltcache.alexa.com/traffic_graph/js/g/b/6m?&u=http%3A%2F%2Fwww.yoursite.com+++++"></script> <!--Daily Traffic Rank Trend--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=t&b=ffffff&r=1m&u=yoursite.com&"> <!--Daily Reach in Percent--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=r&b=ffffff&r=1m&u=yoursite.com&"> <!--Daily Page Views--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=p&b=ffffff&r=1m&u=yoursite.com&"> i want to insert them in html form with few button for every chart and want … |
Hello everyone. 1)I am trying several days now to display an image from file Chooser in Netbeans. i have read and tried many different approaches from the web, but something goes wrong.Although the program runs ok,I see no results.Until now, I have used the "Design" tab of Netbeans to create … | |
I have two bounding boxes defined by the following values: m1.min.x;//the min x value of model 1 m1.min.y;// " " y " " " " m1.min.z;// " " z " " " " m1.max.x;// " max x " " " " m1.max.y;// " " y " " " " m1.max.z;// … | |
Hi have this piece of code to display images of cameras and a caption underneath which states what type of camera it is. However I cant get the caption to change, i posted this piece of code before and some responded stating i need to '==' not just one. I … | |
Hello Guys In some part of my coding i want to obtain the width and height of an image in terms of PIXELs I tried the following //the rest above aren't important $path = $_SERVER[DOCUMENT_ROOT].'/images/'.$image; $imgdata = getimagesize($path); $imgdata[0] = $width; $imgdata[1] = $height; If ($width > 800 || $height … | |
Hello everyone, I would appreciate if somebody could tell me how to find L*a*B of an image in java Also how to find texture of each pixel.I know how to find RGB value but i am unable to find L*a*b Pls help | |
I have a photo gallery where there is a strip of thumbnails on the top and a full size image below. Basically when I click the thumbnails, it should show the full size image in the image placeholder known as "full" in my page. That works fine except I also … | |
i have got a very crazy! problem i am trying to erase an image from e web page iwrote this piece of code to show the image and the bullet for the uset to delete $dir2='../../random/images2/'; $files1 = scandir($dir2); foreach ($files1 as $value) { if ((substr($value, -3)==="jpg") or (substr($value, -3)==="JPG") … | |
I can't seem to display the image.. Here is my code.. <?php $user='root'; $server='localhost'; $db='db_gamecube';//database name mysql_connect('localhost','root'); mysql_select_db($db); $pass=$_POST['password']; $uname=$_POST['uname']; $sql="select * from tb_register where username ='$uname' and password='$pass'"; $result= mysql_query ($sql) or die (mysql_error()); if(mysql_num_rows($result)==1) { session_start(); $_SESSION['guest']=$uname; echo "<form method ='post' action='login_edit.php'>"; $records=mysql_fetch_assoc($result); echo "<table border =10> <tr> … | |
How to set image of my own choice say baby.jpg as an icon on the title bar of the jFrame.. Please also help with codes if required ,, i am newbie in java and NetBeans.. | |
I found an image rotator that works okay (combination of html and java script), but I would like to have the images disolve or fade into the next image. Anything out there that is not too complex? ![]() | |
How can I manipulate images in C++? Is there any built in function? I googled and found that only bitmap images can be used, but why not jpeg and png and others ? | |
In a silverlight app, I have a BitmapImage defined as System.Windows.Media.Imaging.BitmapImage and it as a method called "SetSource" where I can set the source like this: BitmapImage bitmap = new BitmapImage(); System.IO.Stream stream = _scene.GetStream(); if (stream == null) return; bitmap.SetSource(stream); In a WPF application I have also have a … | |
I have this code below... I would like to resize the image after uploading from mysql... is it possible... anyone can help me on this ? <?php include "file_constants.php"; // just so we know it is broken error_reporting(E_ALL); // some basic sanity checks if(isset($_GET['id']) && is_numeric($_GET['id'])) { //connect to the … | |
Hello everyone i have a problem we make a flash website and upload to the internet now after uploading it's creat a problem we make a folder of images (Small_Thumb) in this folder my all catalog pictures but it cannot show in frames. when we test my all websie in … | |
I added a jpg image to a form and it worked out properly in the emulator. but am having a problem with scrolling the image coz it only displays part of the image. What am i missing | |
Can any 1 plz help me in making out sorting techniques using graphics i.e., moving of sorting elements in graphics | |
Hello! Hoping someone here can help me with this problem. So the page I am working on has an image containing Facebook, Twitter and Youtube tabs.  All these tabs are clickable in every other browsers (Chrome/Safari/Firefox/Opera) except in Internet Explorer (7/8). I am not sure what I am … | |
You have to mildly trick Windows, but it is possible to put a bitmap image on your console. Uses a flock of WinApi calls. Works well with the free PellesC compiler and Dev-C++. This is a Windows Console Application. Drop me a comment, if you have luck with another compiler. ![]() | |
Hi, i am developing a website but got stuck. I got couple of queries , I would appreciate if anyone can help me out. 1. is it possible to re-size image ( e.g on facebook thumbnail picture ) without loosing quality using php code. 2. If not is there third … | |
I'm new to creating jar files. I'm using JCreator and have set up the jar creation and the manifest using winrar and txt to get it to run. However if I run the .jar from anywhere other than the programs root directory all the images vanish. I have been looking … | |
Hi, so practicing some web development code and the part im stuck on is when a button is clicked it changes to picture and the caption is supposed to change. However no matter what i try the caption remains the same. The following is part of the code i have. … | |
Hello, I am assigned with the task of cloning digg.com, I am doing quite well except one issue, I want the user to enter a link in a text field and then I want the take a screen shot of that url (like digg.com). Please help me with what libraries … | |
Hi I tried to resize image with file name ._DYK_RTH134_1000.jpg. I got the following errors Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error. If I am using image with name like DYK_RTH134_1000.jpg then its working fine. Some of my filename have special characters. like . ( ' etc. Could … |
The End.