6,113 Topics

Member Avatar for
Member Avatar for prathapsv3

Here is my code to save image in a folder,but i am getting this error(a generic error occurred in gdi+). Could someone please help me? [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If (Not System.IO.Directory.Exists("d:/posimage")) Then System.IO.Directory.CreateDirectory("d:/posimage") End If PictureBox1.Image.Save("d:/posimage") End sub [/CODE]

Member Avatar for Pgmer
0
2K
Member Avatar for Danny159

Hey guys! I have the following script... Resize works... Scaleup works... but watermark, black and white doesnt work or sepia... Can anyone see why? Or help? Thanks Dan [CODE] <?php header ("Content-type: image/jpeg"); ini_set("memory_limit","80M"); /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ REQUIRES PARAMS: path - path to file from domain root w - sets width to …

Member Avatar for Danny159
0
167
Member Avatar for minghags

Hello can anyone help me with this problem: Im trying to do that this would bounce a image in the canvas area, but i manage to do that only with drawing. here is my current code that i manage to write, and thanks in advance: [CODE]<script type="text/javascript"> var context; var …

Member Avatar for minghags
0
1K
Member Avatar for GreaseJunkie

Hi guys, Happy New Year! I'm trying to setup a voting site where the button under the contest entry just says "Vote For Me" and my form will collect the data from that button and store it into MySQL. I'm having trouble naming that image/vote button so the form will …

Member Avatar for phorce
0
143
Member Avatar for daboyregino

What are the latest trends in steganography (hiding message in another medium e.g. digital images, videos, sound file) and steganalysis(detecting presence of message in a file) in jpeg images? Is there a way to perform steganography or is there an existing steganography algorithm where the message will not be destroyed …

0
167
Member Avatar for Dmiller071

Title says it all. I'm loading my image with the statement below [CODE] //logo = getImage(getDocumentBase(),"http://fromdustelune.com/FD_Logo.png"); logo = getImage(getDocumentBase(),"FD_Logo.png"); [/CODE] *The commented one won't work until I sign this applet (or so I believe that's how it's done* Then I call the paint method: [CODE] public void paint (Graphics g){ …

Member Avatar for NormR1
0
220
Member Avatar for chixm8_49

Greetings! I would like to ask for some idea on how to create an image from the array of pixels that I have. The image should be in black and white (since the input image is black and white as well). Thank you.

Member Avatar for NormR1
0
3K
Member Avatar for Karlwakim

Hi everybody, i need your help choosing the best library for making GUI applications in c++ I dont want to use Visual c++. Please advise me. And where to download Qt ? Where to put the headers in order to use them ??? Note : I am using Netbeans with …

Member Avatar for Karlwakim
0
98
Member Avatar for erik68

Hi, I'm trying to find a way to add an image to a selected comboboxitem in xaml. As in, the combobox shows a list of items, when I select on of them an image will show next to the text. I haven't been able to find a good example of …

0
41
Member Avatar for mah300274

I am looking to buy a graphics card and was looking at VisionTek Radeon HD 6950 Graphics card (only because this one should go pretty cheap) but it is currently bricked. This is the exact wording of the person, "This graphics card is bricked meaning a bios flash gone wrong. …

Member Avatar for rubberman
0
258
Member Avatar for Lalit Chattar

Hi all i am college student and making a project related to file compression in python. I want to creat a listCntl with image and text that will look like image that i attached wih this post. plese help me how will i implement this in wx python.

0
107
Member Avatar for mishabi

Can someone give me a pointer on how to solve this scenario: 1) I have an image of a chessboard (8x8) with black and white squares. I need to analyze the image and create a 8x8 matrix corresponding to the chessboard. 2) Store 0 if the corresponding chessboard cell is …

Member Avatar for TrustyTony
0
117
Member Avatar for rahul_galgali

Hi,/ I want to start with Java Application for Data Hiding in which image is kept as watermark.I want to start with this app but I have no idea how to start with it..I am vc++ programmer but i m not familiar with java so plz If u could help …

Member Avatar for rahul_galgali
0
181
Member Avatar for kris kannan

hi, i want to know if there are any libraries for image/video processing in c/c++ with a compatibilty that it can later be adapted to DSP, without much difficulty. thanks in advance.

Member Avatar for kris kannan
0
419
Member Avatar for mediachicken

This is actually an Objective-C question. I'm trying to implement a way to loop through pixels and map the colors to "curve" data. I was wondering the easiest way to do this. Is there a prewritten algorithm for curves anywhere? I don't want a graphical curve grid, I just need …

Member Avatar for radu_
0
326
Member Avatar for kartouss

hello, can anyone help me how to encrypt an image that is how the values in the image are read and saved in a file... I need to load an image and then the program will extract the pixel values and save it in a file and then the values …

Member Avatar for Zhassan
0
1K
Member Avatar for dhanlak

Hi, I am trying to bind a datagrid with a datatable in WPF. This is my first project in WPF. The datatable has a single column. The datatable is bound with a table that has a varbinary image column in database. In database, this is the table structure table tblPicture …

0
107
Member Avatar for Shwetha Dali

Hi, I want to zoom the uploaded images.I have code to zoom 2 - 3 images.. Each image user uploades has to be zoomed on mouse over. Can anyone tell me how to do this Thanks, Shwetha

Member Avatar for MagicToolbox
0
219
Member Avatar for denmarkstan

i have set background image on the body of my master page. i have link css file. in my css, i set the image like this and the result was repeated images on the master page body: [ICODE]body { background-image:url('/Styles/bg.jpg'); font-size: .80em; font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, …

Member Avatar for sufyan2011
0
357
Member Avatar for aishapot

[CODE]Sub retrievepic() Dim conn As New SqlConnection("data source=.\sqlexpress; integrated security=true; attachdbfilename=|datadirectory|\WAIS.mdf; user instance=true;") Dim cmd As New SqlCommand("select ImageData from ImagesStore where ImageId=@ImageId", conn) cmd.Parameters.AddWithValue("@ImageId", 3) Try conn.Open() PictureBox1.Image = Image.FromStream(New IO.MemoryStream(CType(cmd.ExecuteScalar, Byte()))) Catch ex As Exception MsgBox(ex.Message) Finally conn.Close() End Try End Sub [/CODE] This is my code for …

Member Avatar for aishapot
0
1K
Member Avatar for ishaan3731

I actually intend to make a program using c++ which does the three following tasks: 1)lets me input the location and name of a jpg image file... 2)picks up the name of the file and stores it in a string...for eg if file name is myfile.jpg it picks up "myfile" …

Member Avatar for pseudorandom21
0
2K
Member Avatar for AnkurThakur

Hello Guyz, I wish that the Title of the thread explains itself a lot. I would like to Save an image from an HTTP URL which actually redirects to another URL. Actually, I am trying to Save the Profile picture of Facebook. [B]Example : [/B][URL="https://graph.facebook.com/thakurbhai/picture"]https://graph.facebook.com/thakurbhai/picture[/URL] Now when you will open …

Member Avatar for AnkurThakur
0
273
Member Avatar for veledrom

Hi, I have code below and want to modify it in order to place all the images to the edges of div. The problem is, I cannot align bottom images correctly however top edge images are fine. It should be cross browser compatible though. Thanks in advance [code] <style> #imgleftttop{ …

Member Avatar for richardtj
0
156
Member Avatar for Octet

I am attempting to make my first website, however I have hit a hurdle in what appears to be browser compatability issues (or I could be talking nonsense?). I am wanting to stretch an image to act as my background of my website,the only issue is it won't work in …

Member Avatar for richardtj
0
205
Member Avatar for dunktap

Hey all, I am trying to figure out how to enable images to be saved as an image file when i display them in php. Right now when i right click on the image, it says save image as.. but then it wont save it as anything other than the …

Member Avatar for qazplm114477
0
172
Member Avatar for ggeoff

Hi I have two desktops one has Office 2003 and the other my "graphics and video PC" has Adobe Creative Suite 3 Design Premium. Both use XP Pro. I can't use Adobe Acrobat as MS Word is installed on my other PC. There are a few other issues, that lead …

Member Avatar for ggeoff
0
360
Member Avatar for aishapot

I need to save pictures in my database, my database is MSSQL as of now, my code for getting the picture is this: Private Sub browsepic_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles browsepic.Click With dialogpic 'Open File Dialog sa toolbox .InitialDirectory = "C:\Users\CAMILLE\Pictures" .Filter = "JPG Files|*.jpg|PNG Files|*.png|GIF …

Member Avatar for aishapot
0
255
Member Avatar for charter

I have an index.php. page which is a search on my MySQL database to update HTML tables in my results.php page. I have a form on the index page as the search which is like this: <form action="results.php." method="post"> Search:&nbsp;<select name="searchtype"> <option value="Date">Date</option> <option value="Wk No.">Wk #</option> <option value="Artist">Artist</option> <option …

Member Avatar for ToniAdams
0
6K
Member Avatar for brainstorm85

Hello, I've coded an image resizing function. It works very well for most image types but I've found that there seems to be a problem with progressive jpeg. If I resize my image for a thumbnail size, 50 px of width the result is only a small black square. I've …

Member Avatar for kevindougans
0
193
Member Avatar for 2advance

Hello Friends, I've one problem with an Image which is to be placed in crystal report. I stored image in sql server 2000 database in varbinary datatype. Now i want to retrive that image and display in crystal report using vb.net 2005. Any one know how to do this?

0
111
Member Avatar for Ismatus3

hello everybody , good day , i just need to insert an image : "BosqueTK.jpg" in a speciale place in my window Tkinter using .place(x= , y= ) , for this i created a frame f2 placed like : [CODE]f2.place(x=130 , y=213) [/CODE] , and want to insert in it …

Member Avatar for Ismatus3
0
222
Member Avatar for rse

I have an ajax call that sends some data to process.php and return back the image name. In process.php I returned the name as follows: [code=php] echo "image.png"; [/code] The ajax call is: [code=javascript] var $chart = $( '#chart' ); var $test = $( '#test' ); $.get("process.php", {date: DateStr, birthday: …

Member Avatar for rse
0
143
Member Avatar for monica23

Good day everyone, i need to display image from the database but the code returns error page when i tried to print image from the database using [CODE] print fout [/CODE] below is the entire codes [CODE] #! /data/python import MySQLdb import sys print ("Content-type: image/jpeg"); print # End of …

0
47
Member Avatar for thehorseman123

hi, I am wanting to rotate an image 90 degrees when you press a button. However so far i can only get it to rotate once, and then it stops. I've tried rotating the image on its own and using the label to rotate it Here is my code BufferedImage …

Member Avatar for thehorseman123
0
97
Member Avatar for veledrom

Hi, I have a transparent circle (20X20) in PNG format. I want to use it to make a DIV or TABLE with rounded edges. How can I do it with CSS? I tried with some examples but none of them were cross-browser compatible. Thanks

Member Avatar for simplypixie
0
78
Member Avatar for sassygray5

Hello, On [URL="http://baileyjumper.aisites.com/Apollo-13/gallery.php"]this page[/URL] of my website, I have a photo gallery and a navigation menu that are both using J query. If you visit the page, you will see that the gallery is working, but the menu is displaying bright blue. This blue color is supposed to be a …

0
91
Member Avatar for Ritesh_4

Hi anyone can relate me to a psd or illustrator sample for the attached image (or a tutorial on how to get on with this)

0
79
Member Avatar for arunsolo1984

Earlier i was displayed the image by referring current directory. My current directory is '/opt/lampp/htdocs/cms/'. My images was placed in the folder called 'Images' inside the cms folder. So, i have displayed the images by referring "./images/filename.png". Now i have moved the images outside of cms folder. Now i kept …

Member Avatar for almostbob
0
190
Member Avatar for stanley87

Hi,guys,I need some advice on building image link counter and image display counter. 1.I need to know how to track each time the image display counter(should be something like this $counter .= $counter + 1), the image display counter only increase for unique visitor.Is that log the counter into text …

Member Avatar for simplypixie
0
169
Member Avatar for davy_yg

Hi, What's the difference between these two codes: gallery/index.php [CODE] <link rel="stylesheet" type="text/css" href="css/sliderkit-core.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos.css" media="screen, projection" /> <link rel="stylesheet" href="css/main.css" type="text/css" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie6.css" /> <![endif]--> <!--[if IE 7]> <![endif]--> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie7.css" /> <!--[if IE 8]> …

0
80
Member Avatar for frotek

hi. how can i save image file in mySQL from vb.net? [URL="http://i31.photobucket.com/albums/c395/altaircavida/help1.jpg"]my vb.net program picture[/URL] the image i want to save in mySQL database is already in the picture box [URL="http://i31.photobucket.com/albums/c395/altaircavida/help2.jpg"]mySQL table[/URL] and this is my SQL tables now how can i add the image in the picture box to …

Member Avatar for frotek
0
197
Member Avatar for peterson624

I have to ask the user for a filename (that exists in the programs father file) and open that .gif file in order to play with the colors of the image... I am really new as programming and need help! I will be asking for more answers soon as well!! …

Member Avatar for peterson624
0
215
Member Avatar for ibpet11

Good day, 1. Do anybody has already done code for image processing application in VB.net? in a case of none, how can I process image for (saturation, intensity, brightness, hue, darkness e.t.c) 2. What code can I pass for a button so that when I click it, PictureBox will show …

Member Avatar for Unhnd_Exception
0
412
Member Avatar for sirlink99

I have a program, and I would like to rotate the image (4 directions) I am wondering if there is an easy way to rotate the image. here is the code, and where I would like to rotate the image. [CODE] import java.awt.*; import java.awt.image.ImageObserver; import java.io.*; import javax.imageio.ImageIO; public …

Member Avatar for mKorbel
0
171
Member Avatar for Suzan Al-amassy

[COLOR="Red"]when i try to scail picture down (( i did not have any problem )) using :[/COLOR] def generalscailing (picture ,pict , n ) : # we have to pick to picture and then put them as parameter in th function : pic=makePicture( picture ) canvas=makePicture( pict ) SourceX=0 width …

Member Avatar for TrustyTony
0
156
Member Avatar for tahirkhanafridi

Dear respected senior php web developer i m new to php webdeveloping and hoping for a good coder one day inshaALLAH SIR i have problem with my image hosting script [url]http://pashtoaudio.com/tahir/upload.php[/url] is for uploading images and [url]http://pashtoaudio.com/tahir/photos.php[/url] is for displaying all uploaded images how ever i want to show there …

Member Avatar for tahirkhanafridi
0
136
Member Avatar for moroccanplaya

hi i just started php, my code works on ie, bit when i open the webpage on firefox and chrome the image does not display?, can anyone help [CODE] $car = "C:\wamp\www\porche.jpg"; $banner = "<img src=\"$car\" "; $banner .= "width=\"380\" height=\"110\" border=\"0\" >"; echo($banner); [/CODE]

Member Avatar for pritaeas
0
199
Member Avatar for Slade

Hey guys next question :(. Now I have having troubles with the IMAGE data type, can anyone provide examples on how to retrieve and update the image? I have tried the following: [CODE] [size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] imgdatastream [/size][size=2][color=#0000ff]As[/color][/size][size=2] FileStream [/size][size=2][color=#0000ff]Dim[/color][/size][size=2] imgdatalen [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]Integer [/color][/size][size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] imgtype [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]String [/color][/size][size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] n [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]Integer [/color][/size][size=2]imgdatastream …

Member Avatar for sangita32
0
328
Member Avatar for nikk

Helo Friends, I have 1000s of image files(jpg/png) which I want to get compressed so as to reduce the file size. Quality can be compromised a bit. I want to know, is there any way in java by which I can get the image compressed? I found a code on …

Member Avatar for vkijust4u
0
321
Member Avatar for dennysimon

Hello all My question is : how to fill an image into a datagridview cell via keyboard For example by type R in datagridview cell(1,1) , a red circle will occupy that (1,1) cell. thank you denny

0
60

The End.