1,535 Topics
| |
Upon playing with the graphics/random class - I have discovered something odd. Private Sub Me_Load(sender As Object, e As EventArgs) Handles Me.Load For i = 0 To 5000 DrawColor(GimmiRectangle) Next End Sub Private Sub DrawColor(ByVal rNew As Rectangle) Try Dim g As Graphics = Me.CreateGraphics g.DrawRectangle(New Pen(Color.FromArgb(New Random().Next(255), New Random().Next(255), … | |
I made three image hotspots on an image called Tab1. I want to click on each of them so it shows an UI next to Tab1. I used the jQuery example off their website since it's close to what I want, but what do I do when I want another … | |
I'm trying to search on how to store the image in a local folder and save its path and filename in ms access using vb.net but a lot of topic makes it more confusing for me. I'm just a student and working on my baby thesis. I'm currently building an … | |
i'm storing 2 images at a time in my database table in a single row. 1st image was Applicant Photo Name as Image In Db & Second Image Was Applicant Sign Name as Sign in Db. So I'm retriving Both At single shot.But I'Want To Display Images Both At a … | |
error is coming while linking the file error is undefined symbol _clearviewport in module ... i have used graphics.h library function dos.h and also stdlib.h can any one help me out to identify this problem? | |
Hello. How do i make a flood fill in python? For exampel. I choose to download this picture of world countries. I save this as picture.png in a folder. The folder also contains a python file whith the name change.py. The change.py file is gonna change USA to yellow. To … | |
| Hi, guys, I want to learn how to make big games for Android, like, Temple Run, Rail Rush or something like that. What I must do? |
Jython is a version of Python that can use the extensive Java library. Jython uses Python syntax and avoids the rather ugly syntax (at least for Pythonions) of Java. Here we apply it to bring up an image from a file. | |
I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image. Thanks :) | |
When I try to save a pylab plot (either from the GUI or with `pylab.savefig`), I get the error at the bottom. A minimal script that demonstrates the problem is: import pylab pylab.savefig("foo.png") A Google search for `IndexError: Unexpected SeqBase<T> length` did produce some results, none of them hinting how … | |
Hi, I need to combine 7 images into one, overlapping eachother. The first method I tried doesn't work, what I did is make the transparency key white, which is what I intended it to be in the 7 images, then I just put the images in picture boxs, and it … | |
hi, i am creating a php based image gallery, after long search on google i found a good decent code for it. but when i change the opendir() location in code, the thumbnail image shows blank image instead of orignal image! here is the code! <?php # SETTINGS $max_width = … | |
Hello guys , i am new around here.Need help with one script its for movie's web site, i need to add more than one picture in database. The code is: <?php @mysql_connect($host,$user,$password); @mysql_select_db($db); @mysql_query("SET CHARACTER SET cp1251") or die( "Не мога да избера БД"); if(isset($_POST['submit'])){ $kategoriq = htmlspecialchars($_POST['kategoriq']); $seriq = … | |
This is my upload form for html to upload only one pic, <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html> I want to be able to upload multiple pictures at once. This is my php code for uploading. <?php … | |
Hi. I have a problem with launching my application as applet. The game runs fine as an application. my applet code: package net.viped.breakout; import java.applet.Applet; import java.awt.GridLayout; public class GameApplet extends Applet { Core core = new Core(); public void init() { setLayout(new GridLayout()); add(this.core); } public void start() { … | |
Is it bad for a program to have so many resources loaded on the project? I am planning to add some for the project but this thought crossed my mind. Also, I have other forms that have a backround image and I really felt it slowing down while working on … | |
does vb.net have a 3d pie chart? or can i possibly use a 3d pie chart on vb.net? | |
| Hello, I need a code that checks if a button is pressed to change the BackGround Image of Picture Box So when the button is pressed,a backgroundimage of a picturebox must be changed I tried to use PictureBox1.BackgroundImage.FromFile("IMAGE.bmp") *THE IMAGE IS IN THE PROJECT,IT'S NOT ON THE HARD DRIVE ANYMORE**but … |
how to fix problem of wordpress if images cant be uploaded to the stated post using wordpress, i tried playing around with plugins but still stuck. im a beginner please help | |
I found a C# script to copy any irregular portion from an image (using free hand drawing) and put it on another image. I have never worked with C#. All I want is to copy the irregular part and save it as a new image with transparent background (png format) … | |
Hi.. I am designing a GUI for which I need effect as images are ahown in one vertical row. When mouse points on a particular image, that image should appear enlarged along with hyperlink for details and add to cart(just as similiar to google images).. The only difference is that … | |
I created a (personal) DVD database in MS Access. I am looking to leave Access and create a DBMS with Visual Studio 2008 - I am good with programming in VBA, but I am not familiar with the differences in syntax within the .NET enviornment. To make a long story … | |
can anybody help m in displaying an image file into GUI ?basic please bcoz i m newbie TQ | |
Hi.. I am trying to create a simple desgin in windows applcation using C#.NET, where I have dived my page into 2 panels using split control. The first panel has images lined up vertically, one after another. I would want that when I point a mouse on any image, the … | |
Hi everyone! Can please someone help and guide me on how to export image from vb6 to excel. I found some codes here but doesnt work well when i tried it. I will use an existing excel file then i will export the image probably from the picture box located … | |
| Hi I haven't been on Daniweb for the past few days. I notice that when I scroll down to read threads I see members profile on the bottom of each page of each section. I found it very uncomfortable seeing my profile on couple of pages. I just feel weird. … |
running into an issue haven't seen this before where content during the encoding and decoding of an image looses byte count. I have an app taking the photo image and sending the file via: ----------------------- byte[] imageBytes = new byte[(int) imageFile.length()]; inputFile = new RandomAccessFile(imageFile, "r"); inputFile.read(imageBytes); String base64String = … | |
I am doing image segmentation using region growing algorithm. I have created Region and Pixel class where each region has list of pixels. public class Region { private List<Pixel> pixelList; } Pixel class has fields like r,g,b, hue,saturation, brightness of individual pixel in image. The result of segmentation is list … | |
I want to change an image in another place on my site when I click on the page title. I have tried doing different codes five ways to Sunday and cannot figure it out. Can someone help? Here's my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta … | |
I have registered new custom post types and used this filter to add to my blog homepage add_filter( 'pre_get_posts', 'my_get_posts' ); function my_get_posts( $query ) { if ( is_home() && $query->is_main_query()) $query->set( 'post_type', array( 'post', 'kicksimage3', 'kicksimage5', 'kicksvideo', 'kicksstatus' ) ); return $query; } Now that it is showing on … |
The End.