Click here to Skip to main content
15,897,891 members
Everything / Picture

Picture

picture

Great Reads

by V.
Convert FITS file to known image formats and use those images for a "zooming" functionality (image transparency)
by Richard J. Algarve
Emgu CV - Select ROI (Region of interest) with the mouse in images that do not have the same measurements. This tip was prepared using the framework Emgu CV and C # .NET language.
by Saurabh Kirtani
An important part of a responsive website are responsive images. In this article, we’ll learn more about responsive images on the web and see how to build them.
by Benjamin Lifshitz
With this code, you can print images quickly and efficiently, using the largest part of the A4 page for your image.

Latest Articles

by V.
Convert FITS file to known image formats and use those images for a "zooming" functionality (image transparency)
by Saurabh Kirtani
An important part of a responsive website are responsive images. In this article, we’ll learn more about responsive images on the web and see how to build them.
by Richard J. Algarve
Emgu CV - Select ROI (Region of interest) with the mouse in images that do not have the same measurements. This tip was prepared using the framework Emgu CV and C # .NET language.
by Benjamin Lifshitz
With this code, you can print images quickly and efficiently, using the largest part of the A4 page for your image.

All Articles

Sort by Score

Picture 

8 Apr 2016 by V.
Convert FITS file to known image formats and use those images for a "zooming" functionality (image transparency)
3 Jan 2015 by Richard J. Algarve
Emgu CV - Select ROI (Region of interest) with the mouse in images that do not have the same measurements. This tip was prepared using the framework Emgu CV and C # .NET language.
16 Feb 2015 by Richard MacCutchan
At a brief glanceico == Icon.FromHandle(bmp.GetHicon); // error should not be "=="// should be ico = Icon.FromHandle(bmp.GetHicon);However, your title mentions Visual Basic so there may be other issues. Please edit your question and explain exactly what error you see.
15 Jul 2015 by Peter Leow
Learn this CSS Box Model[^] and figure it out yourself.
18 Feb 2013 by Marco Bertschi
You can use a list box with pictures [^] at the left hand side for the menu and when the selected index on the list box changes you can load another user control on the area on the right hand side.Use the OnSelectedItemChanged - Event[^] of the list view to find out when the listbox' index...
15 May 2013 by Sergey Alexandrovich Kryukov
In For Each item As ListViewItem In ListView1.SelectedItems your loop variable is item. This is what you should use to extract data, but you are doing something else (I don't want to analyze what exactly, you are not using item, not even i, so it's all wrong anyway).And there is no a need to...
8 Jun 2015 by Sergey Alexandrovich Kryukov
I have no idea what makes you thinking that you can identify the source of some image by capturing some specific pattern. I don't think so. And of course the expression "hex pattern" is absurd: "decimal" or "hexadecimal" is just the artifact of string representation of some numeric data in...
19 Jun 2017 by Member 9983063
Hello Guys, How are you, I hope you will be fine well I have another issue in my project last night I have code from Google to save image in directory folder with picture box but when I add the same pic in this folder soi get an error filename already exist I wanna overwrite image if image is...
9 Aug 2017 by RickZeeland
Here is a project using the ffmpeg library: FFMPEG Video Converter with Progressbar VB.NET[^] Here you can find how to use the ffmpeg zoom commands: Zoom video using ffmpeg commands - Super User[^] If you want a WPF solution, you can try WPF-MediaKit: GitHub - Sascha-L/WPF-MediaKit[^] But I...
31 Dec 2021 by OriginalGriff
Python indexes start from zero - so if you have 5 elements in a collection, the only valid indexes are 0, 1, 2, 3, and 4 - any negative number or value greater than four will cause an index out of range error. Pixels are organised the same way:...
11 Jul 2013 by sgjoshi85
how to assign an image in picture objects of crystal reports.I have to image in bytes.i have to store it into the picture object at runtime.Please help
27 Mar 2014 by Member 10703635
Hello guys :)I'm making a shooting flying game with C# nowadays. We set Google earth as a background of the game by using form.The form is called and Google earth is executed in this form.but we have a problem in this part.I wanna cover some image on Google earth, but it isn't...
27 Mar 2014 by sankarsan parida
See this linkshow-to-change-window-transparency-in-windows-7/[^]http://msdn.microsoft.com/en-us/library/system.windows.forms.form.opacity(v=vs.110).aspx[^]http://msdn.microsoft.com/en-us/library/czke9azk(v=vs.110).aspx[^]
30 May 2014 by User 7711251
The website has protected the image for a reason, attempting to retrieve the image is violating the privacy of the website. Sorry, no can do. :/
27 Jul 2014 by handigandhi
I am using MVC in ASP.NET and want a Drag n Drop in my view. I would like to call a function in my controller when the images are dropped to verify them and show an OK to the user. When the user has finished typing in information and dropped the appropriate images he/she clicks "Fortsæt"...
22 Nov 2014 by Member 11255907
Hi everyone. I was wondering if anyone knows an easy way to add a fade in / fade out to this slideshow? It has to be in js only, no css. This is used in multiple places on the same page, so if anything needs unique names, please be specific. Thanks in advance! ...
22 Nov 2014 by SrikantSahu
Hi,In this scenario it is better to go with jquery as it has some cool effects for the DOM elements.However, if jquery cannot be used then below solution can be used.var imgArray1 =...
4 Dec 2014 by JNDIONYSIM
Ok the idea is simple , I have a picture lets say a 'car figure' picture i want to pre define some areas for example on the 'Left Door' and on the 'right door' and on the 'front part' and on 'the rear part' .When the users mouse is on an predifined area a tooltip or a label have a...
5 Dec 2014 by BillWoodruff
Why don't you get started by studying this CodeProject article which shows you how to build an 'imagemap' control for WinForms: [^]You may also get some ideas from this CP article on an ImageMap for ASP.NET: [^].Some important choices you'll have to make are:1. are you going to...
11 Jan 2015 by Sphinz
INSERT PICTURE ON WINDOWS FORM APP WHILE IT IS EXECUTING
11 Jan 2015 by Sergey Alexandrovich Kryukov
In addition to the answer by BacchusBeale:Using the control System.Windows.Forms.PictureBox is just one of the way to add an image. I only would like to emphasize: each and every image or control is always added "while it is executing". Even if you do it using the designer, it is actually...
7 Jul 2015 by bjay tiamsic
Hi. I'm trying to pass an image path to a parameter in Crystal Report where I used this parameter to fill in the picture object in the report.However when I tried to pass the image path to crystal report parameter using c#, I get this error: String reference not set to an instance of a...
15 Jul 2015 by Member 11840397
I currently have an image set for my topbar. It's an image with a navigation bar right beneath it. I tried everything, but there's a gap between my navigation bar and my picture. How do I remove this?Here's a screenshot in-case my text was too confusing to understand.[^]I'm not...
14 Sep 2022 by Member 12525162
Hi!I created a few PNGs in photoshop and uploaded them to my windows form. I want to place one picture over the other to create a picture with multiple layers. I'm making a super simple pizza maker program so when you select a box with a topping selection the topping appears onto of the base...
15 May 2016 by csharpukiller
It's all about the quality , try to release your image from photoshop as a transparent image then use it.
17 Aug 2016 by Member 12640137
FOR PICTURE SHOWING in picture box again employee idWHAT WILL I DO.FOR EXAMPAL ( textBox1.Text = dr.GetString(1)pictureBox1.image = ???My Code is belowbool temp = false;SqlConnection con = new...
17 Aug 2016 by OriginalGriff
It's going to depend on exactly what you stored in your DB as the Image: you are retrieving it as a string, so you could have stored the URL of the image, the image as a base64 string, or even just tried to dump the Image class instance into the DB. We don't know.What you need to do is...
19 Jun 2017 by Richard Deeming
Call the overload of Copy which has an "overwrite" flag, and pass true: Copy Method | Microsoft Docs[^] File.Copy(filepath, appPath + iName, true);
14 Jun 2019 by Member 13711364
Hi, How Convert Picture to scan form (consider perpective deskew,..), by opencv. This is my assignment. I want to know, how and logic of that with code.(i totaly fresh student). TQ What I have tried: NO idea How Convert Picture to scan form (consider perpective deskew,..), by opencv. This...
17 Apr 2018 by Member 13659167
I have a code which inserting all information from textboxes to excel file. What I trying to do to using this code also add a picture from picturebox. So the picture will be inserted with data from textboxes in the same row. Dim connectionString As String =...
17 Apr 2018 by Patrice T
Dim insertStatement As String = "INSERT INTO [DATA$] ([WEEK], [DATE], [PART NAME], [PART NUMBER], [REASON FOR SCRAP], [LINE], [MACHINE], [TOOLING], [MTO], [QTY], [WHO SCRAP IT]) VALUES ('" + WEEK_TEXT.Text + "','" + DATEE_TEXT.Text + "','" + PARTNAME_TEXT.Text + "','" + PARTNUMBER_TEXT.Text +...
17 Apr 2018 by Richard MacCutchan
Please do not repost the same question.
14 Jun 2019 by Zeynep Sevde
private byte[] AutoRotate(TessBaseAPI api, Bitmap im) { Image image = new Image(im); Bitmap image1 = image.ToBitmap(); DocumentSkewChecker skewChecker = new DocumentSkewChecker(); // get documents skew angle ...
29 Jul 2020 by Marie Jensen
I want to add an image, which follows a specific question, because I am doing a quiz. It sould be in the variable, but want I have found is I should just write the file in, like this: "raev.png". But the image doesn't appear. I am not good at...
28 Jul 2020 by Richard MacCutchan
You need to use the HTML tag, as described at HTML img tag[^].
27 May 2021 by qyx123
import cv2 import numpy as np cameraCapture = cv2.VideoCapture('test_1.avi') success, frame = cameraCapture.read() while success: if cv2.waitKey(1) == 27: break cv2.imshow('Test camera', frame) success, frame =...
27 May 2021 by KarstenK
Read Your Guide to the Python print to fully understand the options and power of the print function. The russian Lenin wrote a book about "Knowledge is power" ;-)
27 May 2021 by Richard MacCutchan
In addition to Karsten's sugestion you can look at 7. Input and Output — Python 3.9.5 documentation[^].
31 Dec 2021 by CodeSie Programming
This is my code: for y in range(0, dim, 3): for x in range(0, dim, 4): img.putpixel((x, y), color2) if not (x+1 > dim): img.putpixel((x+1, y), color2) if not (x+2 > dim): img.putpixel((x+2, y),...
15 Feb 2022 by Maciej Los
Take a look here: Remove a page border[^]
21 Apr 2022 by Nicos Nikkou
i want an image to change depending the size of the screen. i use this code and it works fine. ...
15 Jul 2023 by merano99
Quote: The function determineEdges was being passed to image before it was completely formed. This sounds a lot like a concurrency. Simply copying may not be enough. I would still suggest instead of copying everything in multiple loops one by...
24 Nov 2015 by Saurabh Kirtani
An important part of a responsive website are responsive images. In this article, we’ll learn more about responsive images on the web and see how to build them.
1 Jan 2015 by Benjamin Lifshitz
With this code, you can print images quickly and efficiently, using the largest part of the A4 page for your image.
9 Jun 2004 by Taha Elsayed
Motion detection using webcam, by C#.
15 May 2016 by Sergey Alexandrovich Kryukov
Please see my comment to the question. Probably, I actually can understand what you want to achieve.The solution, in its basic form, is extremely easy. The problem is: you are using such thing as PictureBox. By some reason, this near-useless control also became the most misused control in...
15 May 2013 by fisherboy998
Ok,I'm writing a app that should convert a list of images to own size (x/y) and formatThe code works, i can preview, convert the image and change its size (x/y), and output format,I open the filepath as string via openfiledialog, and list them in a listviewexample:...
11 Jan 2015 by BacchusBeale
To insert a picture you can use a PictureBox. Not sure what you mean about "it is executing", if you have intensive work to do while the form is open you can use Background Worker so the work is done in the background and does not block/freeze the form. Otherwise you need to use InvokeRequired...
12 Dec 2013 by ♥…ЯҠ…♥
Hi Gruden,If you have 3 pictures in the picture box and you gonna validate each and every picture box thenPictureBox1 = Image1;PictureBox2 = Image2;PictureBox3 = Image3;At page load, show first picture that isPictureBox1.Visible = True;PictureBox2.Visible =...
12 Dec 2013 by ggruden
How to do this in C #. I need to show pictures under the pictures I write what constitutes an image if answered correctly the program go to the next picture if is not corectli display error or non corect?
14 Sep 2022 by Member 14527269
set this in your form_load() picturename.Parent= pictureBox1; picturename.BackColor = Color.Transparent;
14 Jul 2023 by Alex Jul2023
chatgpt helpred me with this one .... The function determineEdges was being passed to image before it was completely formed. So once that function use as a parameter image, image was getting changed and interfering in determineEdges. A silly...
15 Jul 2023 by Alex Jul2023
The output image is majorly white, with some outlines of the edges // Detect edges void edges(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE temporary[height][width]; for (int row = 0; row
17 Sep 2013 by irprogram
HiHow to Save Picture to Sql Database from WPF Image Control using Linq to Sql?Thank's
6 Feb 2014 by Member 10577460
I know nothing about coding unfortunately.I do love Pi though.And i figure that it should be possible to take pi in base 2 and create a picture from it.http://members.shaw.ca/francislyster/pi/pistats/pibase2.pdf[^]Can anybody help me?I really want to see what comes out of it.
30 May 2014 by Member 10855692
how to download a image from a protected below link http://epaper.manoramaonline.com/MMDaily/Malappuram/2014/05/30/F/MMDaily_Malappuram_2014_05_30_F_FP_001/1228_274_1940_1862.jpgwhile I downloading this jpeg file the following error was display " the remote server returned an error (403)...
14 Oct 2014 by TheBigBearNow
Hello,I am currently building a website where I have a login along with a register user.When you login I would like to build a page that brings you to your profile.I will make textboxes for the information that is drawn from the phpmyadmin database.I am not sure how to automatically fill...
26 Dec 2014 by eboolean
Hi;How can i take member profile picture (avatar) in asp.net mvc app register form. @Html.FileUploadFor(m => m.ProfileAvatar) @Html.FileUploadFor(m => m.ProfileAvatar)*This is not working.Only example.I would appreciate if you can...
26 Dec 2014 by deepankarbhatnagar
Go to this link below for help,http://stackoverflow.com/questions/18570173/create-an-avatar-upload-form-for-users[^]
16 Feb 2015 by serkanguncan
I've found it. but fails part I marked ? Bitmap bmp = new Bitmap("sineklik.png"); ico == Icon.FromHandle(bmp.GetHicon); ---> why does it make mistakes? customCursor = new Cursor(ico.Handle); this.UseWaitCursor = false; this.Cursor =...
8 Jun 2015 by JasonLai1991
how to i scan for a particular 'pattern' of a picture file using c#?I am able to scan for the header and trailer of the file using the binaryReader.when the header has been extracted, I will compare it with the header code in the local database, and it will return the designated file...
2 Jan 2016 by Reza552
Hello,I have a myFormClass inherited from System.Windows.Forms.Form class (C# 2013 .Net 4),and set the RightToLeft property value to Yes and RightToLeftLayout to True from Properties grid window.Now I inherit the Form1, from myFormClass (that created automatically when I create new...
7 Aug 2017 by elichka2507
I am looking for the project in VB.NET with the following options.Let's say we have picture box and picture in it. When i clicked on the picture to zoom it the program calculate pixels of the zoom part. Or the other option is when I have video. Can someone show me this kind of project? What I...
15 Feb 2022 by Karl-Heinz Steinhart
I want to write a VSTO add-in that imports a logo into the Excel header. Without a margin left, right, top. The Excel document should later be saved as a PDF document with the logo. (I know how to do that in Word). Can someone help me? What I...