1,138 Topics

Member Avatar for
Member Avatar for NiescierJ

hey i am working with python 3 and i am trying to set a gif file as my GUI background. The canvas.configure(bg=myimage) does not work. Any ideas? width, height = 800, 500 canvas = tkinter.Canvas(width=width, height=height, bg="black") canvas.pack(fill=None, expand=False) #Sets the backround image myimage = PhotoImage(file='world.gif') canvas.configure(bg=myimage)

Member Avatar for vegaseat
0
14K
Member Avatar for garyrichard

Firstly Thanks in Advance.. I am trying to store an image in BLOB form into database and want to show that image on browser on retriving it from database.. Code used to convert image to blob is given below.. `ini_set('display_errors', 'On'); error_reporting(E_ALL); $img=file_get_contents("$_file[tmpname]");` but i am not able to display …

Member Avatar for veedeoo
1
249
Member Avatar for Z33shan

i have GridView, populated with images of 6 fruits (from drawable-hdpi). like this: ![de4e62f8db2c5d5afe016e20eda3d9d6](/attachments/large/3/de4e62f8db2c5d5afe016e20eda3d9d6.png "de4e62f8db2c5d5afe016e20eda3d9d6") now on selection, how can i come to know, what fruit the user has selected? since i'm populating my images from drawables-hdpi, so wot would be the identifier, and how to identify selection through it? …

Member Avatar for BitBlt
0
80
Member Avatar for DyO1

I have trouble accesing images that are located IN the application (in solution explorer) What I want to do is theme options in one of my programs If TreeView1.SelectedNode.Name = "wood" Then main.background*.BackgroundImage= End If *PictureBox

Member Avatar for tinstaafl
0
187
Member Avatar for XEN0

Ok here is the deal,i thought ImageAnimator can be controlled so im trying to do so by using the form Key Down Event,a timer,and an integer.So it fails with a An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in System.Drawing.dll Additional information: A generic error occurred in GDI+. When i move …

0
199
Member Avatar for Sonia11

I am in a small doubt of how to proceed to the next stage. 1. I have used im2col which basically turned gray-scale image into vector. 2. I have used the function vector quantization lbg algorithm which gave the VQ codebook as the output. I understand that the image I …

0
136
Member Avatar for ppstyle

I am using this function to convert the contents of my richtextbox to html: Public Function myRTF_To_HTML(ByVal sRTF As String) As String Dim MyWord As Microsoft.Office.Interop.Word.Application Dim oDoNotSaveChanges As Object = Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges Dim sReturnString As String = "" Dim sConvertedString As String = "" Try MyWord = CreateObject("Word.application") MyWord.Visible = …

Member Avatar for tinstaafl
0
244
Member Avatar for azdonald

Hi I'm working on a JSP project and i need to retrieve saved images. The images are save on my computer(C:\Users\myuser\Documents\NetBeansProjects\Nomadi\web\Images) I saved the link to a MYsql database.. this is the link i saved(\web\Images\W101.jpg) Nomadi is the project name. When i run my app, the image doesn't show. What …

Member Avatar for LastMitch
0
159
Member Avatar for taekiewzz

[DataObjectMethod(DataObjectMethodType.Insert, true)] [System.Web.Services.WebMethod(TransactionOption = TransactionOption.Supported)] [AutoComplete] public int addVehCategoryType(byte[] VEHIMAGE) { SqlParameter[] cmdParm ={ new SqlParameter("@VEHIMAGE", VEHIMAGE), }; return SQLHelper.ExecuteQueryReturnInt(0, constr, "[VEH_VEHICLECATEGORY_ADDVEHICLECATEGORY]", cmdParm, true); } <asp:FileUpload id="fuCategoryVehImage" runat="server" Width="220px" CssClass="input" Enabled='<%# Bind("VEHIMAGE") %>'></asp:FileUpload> I have a web services methods like this, so how would i gonna do inserting images through …

Member Avatar for taekiewzz
0
258
Member Avatar for irfath

I Have a problem about display an image and a descryption to a web page. as admin or some how i need to upload photos to my web site.(only to admin). so for that i need a help to do it (PHP CODE) please! im actually new to PHP.it would …

Member Avatar for masterjiraya
0
274
Member Avatar for ahmedmeg29
Member Avatar for ddanbe
0
126
Member Avatar for baiumbg

I'm having trouble with a bit of code here. What I'm trying to do is paste multiple images(generated from a helper function) into a RichTextBox. Here's my code: string tempText = "For the arithmetic progression $a_1, a_2, a_3, ... a_9$ it's known that $a_2 + a_8 = 8$. The sum …

0
140
Member Avatar for yap.junjie.7

I want to let user to choose the colour of the border, the background and the background image. How can I do that? What I want is like the user choose blue from a dropdown list then this code below will change to the relative colour and image. .ui-widget-header { …

Member Avatar for JorgeM
0
317
Member Avatar for krystosan

just wrote a snippet that return true if whole image sequnce exist else returns false, import os def sequenceExists(seqPath,firstFrame,lastFrame,sep=None): """ Checks if sequence exist on disk. seqPath = image sequence path example: J:/Footages/33x01_02a/33x01_02a.%04d.sgi where %04d can be any number like 0001, 231 but not KFd001 string change buildPath at line …

0
130
Member Avatar for hindu times

Hi there, Following on from an earlier post, the below code is part of Keyring Social Importer, and it imports my Tweets from Twitter and posts them as individual blog posts on my Wordpress.org website. I was wondering, if any of you know php and Wordpress, how I could make …

Member Avatar for LastMitch
0
283
Member Avatar for vegaseat

Simple code to show you how to display an image from a Web URL using the Tkinter Python GUI toolkit, the Python Image Library (PIL) and the data_stream created with io.BytesIO().

Member Avatar for vegaseat
3
4K
Member Avatar for kasse

I´m working on (and now using) the following image gallery on my website. There's no bell's and whistles just the basic utilities: Forward, backward, start/stop auto, set speed, loading animation. The slideshow as described below is optimized for pictures that are all 400px in height, but you can easily change …

Member Avatar for LastMitch
1
375
Member Avatar for dimasalang

Hi experts, I just want to ask if it is possible to add images/videos when creating page in websphere portal 7? Tried searching but no luck. thanks in advance.

Member Avatar for LastMitch
0
84
Member Avatar for Jigs28

I have sql database with table Images, in that table there are 2 Columns ID (identity), DisplayImage (image). Table has 2 rows for first row i have written insert into Image values(1,'Libraries\Pictures\Lotus.jpg') and 2nd row as INSERT INTO [dbo].[Image] ([Id],Images) SELECT 2, (select * FROM OPENROWSET(BULK 'C:\Users\Public\Pictures\Sample Pictures\Tulips.jpg', SINGLE_BLOB) AS …

Member Avatar for LastMitch
0
214
Member Avatar for Markancia

I am a beginner in j2ee, I met a problem when retrieving an image already stored in the database. I am using Hibernate and JSP, the code I used is as follows: / / java code: s.setAttribute ("photo", l.getPhoto ()); StringTokenizer st = new StringTokenizer (s.getAttribute ("photo"). ToString (), "/"); …

Member Avatar for LastMitch
0
360
Member Avatar for dalilice

Hello guys, I'm making a website and i have a problem with the images from the css file. I'm using subfolders for the website (www.domain.com/category) and i'm using css sprites for the images and i'm having problems including the images. i don't want to use absolute paths. The path to …

Member Avatar for pixelsoul
0
263
Member Avatar for cokerz_written

Hy every body, i am a new people in here, so i am need all of your help, please.. i have the script ajax like this, <script type="text/javascript"> jQ(document).ready(function() { jQ().ajaxStart(function() { jQ('#loading').show(); jQ('#result').hide(); }).ajaxStop(function() { jQ('#loading').hide(); jQ('#result').fadeIn('slow'); }); jQ('#frm').submit(function() { var formData = new FormData($(this)[0]); jQ.ajax({ type: 'POST', url: …

Member Avatar for pixelsoul
0
267
Member Avatar for shazzy99

Hi, I've the following html/javascript/css code that I'm trying to execute. But it doesn't work. What I'm trying to do is similar to this: http://jsfiddle.net/FsPSZ/16/ (i've even tried this and the problem is the same) ` <!DOCTYPE html> <html> <head> <title>test</title> <style> #preview{ position:absolute; border:1px solid #ccc; background:#333; padding:5px; display:none; …

Member Avatar for McLaren
0
288
Member Avatar for mrblint

Say we have a map of a section of the city which the user can resize in the browser. Resizing the map image just makes the image bigger or smaller -- it does not change the image content (i.e. does not include a wider area of the city or zoom …

Member Avatar for LastMitch
0
219
Member Avatar for HctiMitcH

I am trying to create a program that searches a screenshot 1600x900 px for a smaller image 200x50. For example on this website I would like to have the program take a screenshot and then search the screenshot for the DaniWeb logo. I would like the coordinates of the center …

Member Avatar for HctiMitcH
0
218
Member Avatar for Z33shan

hello ! .. i'm working with images in EmguCv.. i've subtracted the background of a image frame, based on the difference between them, using Absolute difference.. but i want to obtain the digital (double) value in my double type variable.. how can i get that??

0
144
Member Avatar for sandz24

Can anyone please explain to me how to compute DCT? I'm finding it hard to understand it. ![2D-DCT](/attachments/large/3/2D-DCT.png "2D-DCT") ![dct1](/attachments/small/3/dct1.png "align-right") I attached the formulas the Discrete Cosine Transform (DCT) and it's Inverse-DCT.

Member Avatar for white_pearl
0
801
Member Avatar for kamil.metkowski

Hi I am trying to make a bike shop for my project and i need to pull out a product details with image from sql databse. I have made a table with products and i have stored the images url but i have no idea how to pull it out …

Member Avatar for EvolutionFallen
0
611
Member Avatar for williampritchar

One of my client site is not working properly. when i try to open on high resolution it just show long horizontal scroll bar. i try to resolve it but not succeed, is there any one who know how to get rid of that so please suggest me.

Member Avatar for williampritchar
0
191
Member Avatar for wabuain

Hi everybody, I am kind of new to vb.net and have some problems with images. Problem: I want apply an algorithm into 7500 images I need auto way if there any suggestion. after apply the algorith, each image should be saved back into same folder or any place else automatically. …

Member Avatar for Lethugs
0
269

The End.