1,535 Topics

Member Avatar for
Member Avatar for William Hemsworth

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. …

Member Avatar for thetukiet
1
7K
Member Avatar for mutago

Good day experts, i want to upload image and forms input to database using apachae method but it returns an error display below [CODE] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 36 in the jsp file: /jsp/cat1.jsp name cannot be resolved 33: String fvalue = …

Member Avatar for Mangesh_2
0
1K
Member Avatar for paul-lucas

Hello, my Wordpress is using now LayerSlider. However, for the image layer content (not image background slider), how I can apply the hover effect? ![layerslider.jpg](/attachments/large/4/845f4982662fae44826df3d378fa05c0.jpg "align-center") And, these are the code using now by LayerSlider: <a alt="" data-ls="offsetxin:0;delayin:3500;easingin:linear;fadein:false;offsetxout:0;easingout:linear;fadeout:false;" style="top: 400px; left: 141.5px; display: block; margin-left: 0px; margin-top: 0px; transform-origin: 50% …

0
117
Member Avatar for paul-lucas

Hello, my Wordpress is using now LayerSlider. However, for the image layer content (not image background slider), how I can apply the hover effect? ![layerslider.jpg](/attachments/large/4/c53bc9f8d746fd5eed5f8a334e27ce09.jpg "align-center") And, these are the code using now by LayerSlider: <a alt="" data-ls="offsetxin:0;delayin:3500;easingin:linear;fadein:false;offsetxout:0;easingout:linear;fadeout:false;" style="top: 400px; left: 141.5px; display: block; margin-left: 0px; margin-top: 0px; transform-origin: 50% …

0
146
Member Avatar for themathprof

I'm coding in VB6. I have pictures in Picture1 and Picture2. I would like to replace the picture in Picture1 with the picture in Picture2. What code will get this done? Thanks.

Member Avatar for Santanu.Das
0
2K
Member Avatar for skthree

Hi, I need to create a image editing tool in php. I'm begginer to the php. I tried it in 'javascript' but I need it to create it in php. my javascript code also didn't work(crop box is didn't work properly even it didn't move). I have no idea to …

Member Avatar for skthree
0
380
Member Avatar for sarahtodde

I have a background image on my homepage that is partially cut out whenever I use Google Chrome. Sometimes it's just a corner and sometimes half the top. I have the height set to the correct size. Looks fine in Safari and Firefox. Validates fine. Does anyone have any suggestions? …

Member Avatar for almostbob
0
436
Member Avatar for #1 zamy
Member Avatar for anand01
0
83
Member Avatar for joshl_1995

Hello Daniweb Community, I'm wanting to slice a square image into 9 pieces like below ![Image_Grid_Expected.png](/attachments/small/3/92037daf6101645e42f7718c3f4ccf65.png "align-center") the code I'm currently using is this Private Function CropBitmap(ByRef bmp As Bitmap, ByVal cropX As Integer, ByVal cropY As Integer, ByVal cropWidth As Integer, ByVal cropHeight As Integer) As Bitmap Dim rect …

Member Avatar for joshl_1995
0
1K
Member Avatar for Dankwansere

Hey guys, I've struggling to implement this solution for about a week now. We are using word templates that have inline shapes drawn inside. The inline shapes are used as a place holder to programatically insert image bar codes into the document. Previously we were using Ms.Interop.dll libraries to achieve …

0
116
Member Avatar for weekendrockstar

Hello once again! I have searched in vain for a solution to this issue however, any threads that I've seen online were regarding copying a specific state of a dynamic image and were unresolved...or were more like what I was looking for and it was unresolved. My current form uses …

Member Avatar for weekendrockstar
0
587
Member Avatar for batoolhussain

hi everyone. I have written a program that convert from color image to gray image in asp.net with visual basic, but I have a problem am new in asp.net and I want to display the gray image but I don't know how. please help me. this is a code. If …

Member Avatar for madCoder
0
245
Member Avatar for nimz143

i want to make an application, where user can upload their images and display it in Image control without physically saving it in a folder on disk. after done build the cone, an error show on this line. Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length) Error show on the …

Member Avatar for nimz143
0
350
Member Avatar for batoolhussain

hi everyone. I want to retrieve image from sql server database using asp.net with vb, but the image is not display and I don't know what is wrong with my code. please help me. Imports System.Data.SqlClient Imports System.IO Imports System.Drawing Public Class _Default Inherits System.Web.UI.Page Public sqlcon As SqlConnection = …

Member Avatar for G_Waddell
0
335
Member Avatar for TnTinMN

I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no clear explaination of the problem, only suggested hacks and apparent frustration. So I thought I would offer this explanation from …

Member Avatar for J.C. SolvoTerra
0
7K
Member Avatar for annya

Iam just stuck on this code I want to add an water mark on in between this process but I don't know how to give it. If the user select upload on the first image the image will uploaded and it will show in the right side. I want to …

Member Avatar for Vivek_13
0
983
Member Avatar for batoolhussain
Member Avatar for batoolhussain
0
226
Member Avatar for bijutoha

With info-graphic back-linking when someone uses my image and posts it to a site that is considered very poor quality. Is there any negative-effect from Google? or Google may think I'm spamming with my links on random sites.?

Member Avatar for rinston
0
240
Member Avatar for N kamatchi

i does not know about store the image in database. what is the datatype of picture in oracle?

Member Avatar for erikko
0
134
Member Avatar for batoolhussain

hi everyone. how can I convert image fromat from jpeg to bmp without saving image in vn.net 2010.

Member Avatar for deceptikon
0
70
Member Avatar for spud91

Hi Guys I have a program thats supposed to generate 9 random objects made from lines and then allow me to save the panel showing the state of all 9 objects. Currently all 9 objects are being generated and when i click save the panel is being saved to a …

Member Avatar for JamesCherrill
0
397
Member Avatar for pars99

I need to fill an image created using a ton of QuadCurves, but they don't fill it all the way using the traditional fill method. Any suggestions? public class MonstercatComponent extends JComponent{ public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; drawGrid(g2); g2.setStroke(new BasicStroke(5)); QuadCurve2D earLeft1 = new QuadCurve2D.Double(145, 155, …

Member Avatar for mKorbel
0
380
Member Avatar for ggeoff

Hi I am trying to provide access to a folder of photos. The website is Unix based so I can change permissions. I am using WISE-FTP 8 as my FTP program. I created a directory on the server and intend to upload about 40 photos to it. I uploaded one …

Member Avatar for Aeonix
0
275
Member Avatar for Ritesh123

Hi, I am developing a website. I have a folder containing some images. I have display list in gried view but on gried_itemcomannd download the image but following erroe are display i have trying the following code string filePath = "http://sdokannad.org/httpdocs/SDOKannad/DailyEntry/" + e.Item.Cells[12].Text; Response.AddHeader("Content-Disposition", "attachment;filename=\"" + e.Item.Cells[12].Text); Response.TransmitFile(filePath); Response.End(); **http:/sdokannad.org/httpdocs/SDOKannad/DailyEntry/20150409_125733' …

Member Avatar for tarunap
0
131
Member Avatar for AntonyRayan

Hi I am getting error this error while upload image? Error:Fatal error: Class 'Image' not found Code: $gallerycate_img = "gallerycateimg/".$_FILES["txt_photo"]["name"]; $gallerycate_image = $_FILES['txt_photo']['name']; if (($_FILES["txt_photo"]["type"] == "image/jpeg")||($_FILES["txt_photo"]["type"] == "image/jpg")||($_FILES["txt_photo"]["type"] == "image/gif")||($_FILES["txt_photo"]["type"] == "image/png")&& ($_FILES["txt_photo"]["size"] < 200000000)) { move_uploaded_file($_FILES["txt_photo"]["tmp_name"], "../gallerycateimg/" .$_FILES["txt_photo"]["name"]); copy("../".$gallerycate_img, "../gallerycateimg/thumb/".$gallerycate_image); $file_thumb="../gallerycateimg/thumb/".$gallerycate_image; $file_thumb_1="gallerycateimg/thumb/".$gallerycate_image; $img = new Image($file_thumb); $size = …

Member Avatar for pritaeas
0
198
Member Avatar for Amogha
Member Avatar for Nitin_8

Hi i would like to fetch images from name of the image by which i have stored the image from the upload folder. how can i do it in wordpress.

Member Avatar for diafol
0
281
Member Avatar for SoMa_2

I want to display images based on what user checked from number of checkboxs. I'm trying this code, but it not working <!Doctype html> <html><body> <form method="post" action="" id="myForm"> <div class="opt-first"> <h1><b>Subject</b></h1> <input type="checkbox" value="Account/Finance" name="subject[]" /> Account/Finance<br /> <input type="checkbox" value="Marketing" name="subject[]" /> Marketing<br /> <input type="checkbox" value="" name="subject[]" …

Member Avatar for diafol
0
1K
Member Avatar for tqmd1

Sir I have these codes <html> <head> <style type="text/css"> #pic { float:left; width: 170px; border: 1px solid red; padding: 1px; text-align: center; font-size:12px; } #pic img { float:left; width: 50px; height: 45px; } </style> </head> <body> <div id="pic"> <p> <img src="https://www.gravatar.com/avatar/ecefb26ed5fc91eca453b31a1f7cdfd8? d=identicon&s=80"> General Manager<br/> Azhar Sharif<br/> 0302-1234567 </p> </div> <body> …

Member Avatar for gentlemedia
0
150
Member Avatar for ramsiva

I am not getting while clicking on image my code $pdf->Image('logo.png',10,20,33,0,' ','http://www.fpdf.org/'); working but I want to display the local file. Mean click on image it will go the the file path. Below code is not working $pdf->Image('a.jpg',20,65,20,0,'','searchstudentavailability.php');

Member Avatar for broj1
0
229

The End.