Click here to Skip to main content
15,893,487 members
Everything / Image

Image

image

Great Reads

by Colin Vella
This article presents an algorithm and data structures to implement auto-tiling as seen in RPG Maker, the Starcraft level editor, etc.
by bbirajdar
How to embed an image in email body
by Miguel Diaz Kusztrich
A simple way to build a wide family of fractals
by Miguel Diaz Kusztrich
An infinite set of biological shape fractals in the complex plain

Latest Articles

by honey the codewitch
Image Resizer automatically resizes images you drop in a monitored folder based on criteria you give it. It can also change image formats.
by Peter Huber SG
Let the user import, adjust and view images
by spidergeuse
Manipulate WinForms controls to make a simple jigsaw puzzle
by Christian Specht
Overlay gallery images with logo using one of Hugo's available image filters

All Articles

Sort by Updated

Image 

18 Apr 2024 by OriginalGriff
Answered only to remove from unanswered queue - solved by OP.
17 Apr 2024 by daniel wakeley
So I'm working on a project in React and added in some text into my hero section over the image. The problem is the text has a white background. I've never encountered this problem before. What I have tried: I've tried going through every...
9 Feb 2024 by honey the codewitch
Image Resizer automatically resizes images you drop in a monitored folder based on criteria you give it. It can also change image formats.
31 Jan 2024 by Dave Kreskowiak
This is simple. You're trying to read the file before the copy process has completed and closed the file. You just have to TRY opening the file. If it throws an exception because it's in use already, wait a bit and try again. Keep trying until...
31 Jan 2024 by dageraad
My program consists of the following steps: 1. read in any new image from a source folder 2. process image (detect objects and deskew them) 3. save deskewed object images in a target folder ...repeat The idea is that while scanning stamps the...
5 Dec 2023 by sunday udegbu
PLEASE TRY REPLACING SOME OF YOUR CODE WITH THE FOLLOWING: //use GUID to get unique name for every capture file. Something like: string guid = Guid.NewGuid().ToString(); captureBitmap.Save(@"D:\Capture-" + guid + ".jpg",ImageFormat.Jpeg); ...
28 Nov 2023 by Babar Ali Nov2023
I have a camera device in device there is button in camera to capture the image I have having a issue when I capture the image with camera device the camera location is not in original size and image is cutting when I click on the form save...
14 Nov 2023 by Dave Kreskowiak
Wow. So many things wrong in such a small amount of code. Reformatting what you posted so it's readable: Display the Image ...
14 Nov 2023 by Member 13322574
i want remove image from my display page....i wrote the php code , but nothing happend...help pls What I have tried: Display the Image ID...
11 Nov 2023 by Andre Oosthuizen
As Richard pointed out, your code will never run as you have a very important part missing that should load the image. As mentioned as well, you need php code to obtain the image from your server file using your path and image name specified in...
11 Nov 2023 by Member 13322574
my image not showing... dbname=image table name=images filedname= id, name, imagename the below line is error '; ?> What I have tried: Display the Image ...
10 Nov 2023 by Richard MacCutchan
You are missing the opening
12 Oct 2023 by tMichu
I have a problem with using the Barcodelib 3.0.2 in VB.NET. It has a method encode which returns "SKImage". When I try to show it in a picturebox, I get an error of wrong type. How could I change it to image type? Thank you in advance for your...
12 Oct 2023 by Richard Deeming
Call SKImage.Encode[^] to return an SKData[^] instance wrapping the encoded image. Then call SKData.AsStream[^] to get a stream wrapping the encoded data. You should then be able to pass that stream to the Image.FromStream[^] method to get a...
23 Jul 2023 by Member 15840006
I got a tool from elsewhere It can list the pixel values used by the image i try to imitate it I use the memory method to extract image pixel colors values and remove duplicate values, but I can't achieve its sorting effect. Pixel Sort Sample...
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...
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
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...
5 Jun 2023 by Chillzy
On a different forum, I got clarity on how I should render the noise, this is the code I was provided that actually worked. void write_noise_2d(int w, int h, int channels_num) { // initialize noise fnl_state noise =...
24 May 2023 by Peter Huber SG
Let the user import, adjust and view images
9 May 2023 by Chillzy
Right now I'm creating procedural textures via noise. So far, I've set up a 512 x 512 JPG image file for the program to write to, and it does, but there's a problem. The problem I'm having is that the noise doesn't fill up the file properly. The...
8 May 2023 by OriginalGriff
Your code generates and array channels_num times the size you fill. Since you don't check the value passed, you app can overwrite memory (if given channels_num = 0 or do what you see: fill only part of the array (if channels_num > 1) And if...
1 May 2023 by Sabry1905
I am trying to create bitmap from int 2D array , using the setPixel method, but when I open the output image using any image viewer, it seems that it is all black in my code data is a 2D dimensional array of integers with values either 1 or -1 ...
1 May 2023 by Sabry1905
The Data object is a 2D dimensional array of integers 1 and -1 and I used the debugger to make sure of its content and it is right and I am not using exception handling keywords
1 May 2023 by Dave Kreskowiak
The code you've posted will generate a bitmap SO LONG AS you have a valid data array with 2 dimensions, of at least 80 rows and 80 columns. If you're not getting an exception, you are probably running this code from inside a try/catch block that...
1 May 2023 by OriginalGriff
I'd start with the debugger and find out exactly what values you are passing to that code fragment - it's fine saying "My data is this" but unless you have absolutely checked using the debugger you can't be sure - because without testing it (and...
11 Apr 2023 by Gcobani Mkontwana
Hi Team I cant seem to have or create spaces for my div classes, want to create a spaces between them. They currently tightly close to one another and they dont seem to look good for UI design. What I have tried: // Bootstrap div class
11 Apr 2023 by Gcobani Mkontwana
Hi Team I only applied the following logic to be able to achieve this without any issues. picture { display: block; max-width: 100%; height: auto; margin-bottom: 20px; /* add margin to create space between pictures */ } @media...
10 Apr 2023 by Mike Hankey
The bootstrap grid system is -pretty flexible see if this helps; Grid system · Bootstrap[^]
29 Mar 2023 by Tom Gorman
I am an old and infrequent Basic guy. I took a 1 semester course in Basic in college in 1970, moved to Quick Basic and then Visual Basic in 1992. I do this as a hobby when some idea strikes my fancy.I am trying to program a Laser Shooting Range that would capture a short laser "shot" and draw...
8 Mar 2023 by shamas saeed
-- Image Export Stored Procedure Alter PROCEDURE dbo.usp_ExportImage ( @id int ) AS BEGIN DECLARE @ImageData varbinary(max); DECLARE @Path2OutFile NVARCHAR (2000); DECLARE @Obj INT; Declare @File varchar(100); SET NOCOUNT ON ...
8 Mar 2023 by shamas saeed
I got a solution luckily, CAST('' AS XML).value('xs:base64Binary(sql:column("picturedata"))' , 'VARBINARY(MAX)')
7 Mar 2023 by OriginalGriff
Don't use NVARCHAR - use VARBINRY (if they are small, less than 64Kbytes) or BLOB (if they are large) instead - or better, store them on a shared folder as files, and store the path in the DB. NVARCHAR data isn't binary - it's Unicode text, and...
5 Mar 2023 by spidergeuse
Manipulate WinForms controls to make a simple jigsaw puzzle
1 Feb 2023 by Graeme_Grant
See if this helps: Image Resizing - outperform GDI+ | CodeProject[^] UPDATE #1 Try: GitHub - mono/SkiaSharp: SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D...
31 Jan 2023 by w14243
E.g. Resize an 8000x8000 big size image to 500x500 small size image, below C# .NET methods were tested: 1. Bitmap smallimg = new Bitmap(bigimg, 500, 500); 2. Bitmap smallimg = bigimg.GetThumbnailImage(500, 500, ...); 3. Bitmap smallimg = new...
17 Jan 2023 by Дмитрий Меланьин
Hi, dockerhub recently was updated with newer version of AI, but GPU image is arm64 and no amd64 avail. Is there a plan to have amd64 also, or it is just build mistake? What I have tried: Pulling and running codeproject/ai-server:gpu-2.0.6 ...
17 Jan 2023 by Richard MacCutchan
Try posting the question at CodeProject.AI Discussions[^].
7 Jan 2023 by Thang Đai
Hi everyone, I'm having a hard time making the full image display function when clicking on it. I want when I click on the image it will show full in the center of the screen. I tried a few ways but it didn't work. Hope someone can help, thanks a...
7 Jan 2023 by AORUS FF
Make a css class u like e.g => .enlargedImage { transition: ; transform: scale(2); /*2x , 3x anything u like*/ } And add this class to that image But If u want the image to fit screen Than use This There is an webapi Named...
11 Dec 2022 by moshaveran
I have a picturebox in my form and draw shapes in picturebox by MouseDown and MouseUp events. finally I must save image of picturebox with drawn shapes in TIFF File. I use this codes: Dim bitmap = New Bitmap(PictureBox1.Width,...
11 Dec 2022 by OriginalGriff
Simple: don't draw on the PictureBox, draw on the Image it contains and Invalidate the PictureBox to display the changes. You can then save the Image directly to a disk file without any loss of quality (because you are using TIFF files, and that...
9 Dec 2022 by salam_verdim_alana_panyatkasi_olana
I'm talking about docker right now. I was wondering why there are not only images but also containers here? I understand that container that runing from instance of image. Okay, we get that, so why do we need this separately? Wouldn't it be right...
9 Dec 2022 by Afzaal Ahmad Zeeshan
Your question is unclear. The computer world has more than 2 things—while bit states can be only 2; 0, and 1. The concept of images and containers is the same as class and objects. You write the class in your Java file, and when that code runs,...
2 Dec 2022 by moshaveran
HI Friends I have code that returns the text in the image by Tesseract OCR. But the accuracy of the resulting text is not acceptable at all! I will attach the my photo. return text is :'EPVWUAG2LOSCBPZAANIZZ10 1' Please guide me how to get the...
2 Dec 2022 by Dave Kreskowiak
More accurately? Well, the source image you posted is pretty bad, so I doubt you're going to get acceptable accuracy with ANY OCR package. Your only options are to try various OCR packages to see if they can do a better job, or write your own...
28 Nov 2022 by robi mack
I am adding values (Product name, Price, Quantity, and image). If I click on add button then the table is showing all the values. But I want to display an image instead of an image name in the table. Here is the code of this. Can anyone tell me...
24 Nov 2022 by Member 8840306
I am an new in map drawing.I want to generate data set.I have a county boundar lat long list by using it I generate the country borader using OpenGL. Counry borader data set is like this lat long 33.666 71.44 33.888 ...
24 Nov 2022 by Richard MacCutchan
As I suggested in your previous question on this subject at Download map at different zoom levels image fragment(suqare) for a scpecific country in image format (jpg) with lat long?[^], check the API documentation.
22 Nov 2022 by Graeme_Grant
You could convert from RGB to HSV/HSB and use the (H)ue to create your color groups, then (S)aturation & (B)rightness to do your sub-sorts. Then once sorted, display the RGB value. ref: The HSB Color System: A Practitioner's Primer – Learn UI...
21 Nov 2022 by Member 8840306
I am new in drawing map country wise from scratch.Is it possbile to download the Image DataSet of map of a Spcecific Country in at different zoom levels image fragment(suqare) image format like jpg with lat long of each corner of square? I...
21 Nov 2022 by Richard Deeming
Have a look at OpenStreetMap[^], which has far less restrictive terms of use[^] than Google's maps.
21 Nov 2022 by Richard MacCutchan
See Google Maps Platform �|� Google Developers[^] for details of how to get map data.
9 Nov 2022 by wiam leo
We have images in folders, named (face1.png,...,face6.png) using this code; I can't display images, we randomly retrieve photos: import React from "react"; import jeuxde from "../images/jeuxde.jpg"; export default class JeuDe extends...
9 Nov 2022 by wiam leo
I solved the problems import React from "react"; import jeuxde from "../images/jeuxde.jpg"; export default class JeuDe extends React.Component{ constructor (props){ super(props); this.state= {face: null, compteur: 0, fin:...
7 Nov 2022 by OriginalGriff
The question is, where are the images? If they are on the server, Javascript can't access them because it runs on the Client and has no access to the server filesystem. If they are on the client, where on the client? You are using absolute...
18 Oct 2022 by f*rcklift2030
I'm a C# newbie working on a Winforms project and need help retrieving and displaying picture to picturebox. However, I'm getting an error "Unable to Cast object of type String to type byte[]" There are other elements such as Navigation that...
28 Sep 2022 by Azzam Masood
I have some compressed EXR scan-line files that are unable to be read using minexr, shows error: assert self.compr == 0x00, Compression not supported. Additionally, I want to read them one scanline at a time, so as to not overload memory. On the...
17 Sep 2022 by OriginalGriff
I have no idea what any of that means: it reads like you are "on something" and pretty disconnected from the real world. So ... Use the "Improve question" widget to edit your question and provide better information. Start by NOT SHOUTING. Using...
15 Sep 2022 by Christian Specht
Overlay gallery images with logo using one of Hugo's available image filters
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...
14 Sep 2022 by Member 14527269
set this in your form_load() picturename.Parent= pictureBox1; picturename.BackColor = Color.Transparent;
14 Aug 2022 by Ididhejejdj Ididhejejdj
from PIL import Image file_name = "colors.png" img = Image.open(file_name) pixels = img.load() width, height = img.size print(img.size) for x in range(width): for y in range(height): print(x, y) The img.size = 130,130 but the...
14 Aug 2022 by OriginalGriff
"Index out of range" means exactly what it says: the collection you are indexing into does not have enough elements to cover the index value you are using. In Python, indexes run from 0 to N - 1, where N is the number of values in the collection....
25 Jun 2022 by Gcobani Mkontwana
Hi Team I need some help, i want to reduce the size and width of my image, i want to know how to do this on local path as well via URL, based on my given logic below. What I have tried: /** * The content for the web...
25 Jun 2022 by Richard MacCutchan
You can use the relevant attributes of the HTML img tag[^].
25 May 2022 by thehapiii
Hi there. I'm searching for an algorithm that can remove a range of defined colors from images with high accuracy .For i want it to be fast,the pointers must be used. Can anyone help me out? I have tried the following piece of code, but it's not...
22 May 2022 by Carol H
I wanted to display binary image from my database in Jquery datatable, I have tried a few ways but did not work as well. This is my DataTable: "columns": [ { "data": "Product_ID" }, { "data": "Product_Name" }, { "data":...
22 May 2022 by vipan.net
Work for me "columns": [ { "data": "profile_pic", "render": function (data, type, full, meta) { return ''; } }, From url: { "data": "imageUrl", "render": function(data, type, row) { ...
1 May 2022 by ayoub barari
Actually i want to view DICOM images of one patient 3 Different series, Series one contaions 95 dcm Files. How i can load 95 files or load folder in one cell so i can screll mouse to view frames one by one in one cell. I do not want to use...
30 Apr 2022 by Petrov Vladimir
Simple solution for PDF performance from Image files of any kind
22 Apr 2022 by ADMGNS
A very simple method to resampling points from a digital image and drawing it as antique mosaics, dots (stippling) and Voronoi cells
23 Feb 2022 by Zamec 2022
Hello I just put my site into a host by GoDaddy on my host I can see Images but others can't. I am very green with this control panel etc. and I am asking for help how to fix that What I have tried: I was looking yt and google for it but cant...
23 Feb 2022 by OriginalGriff
Talk to GoDaddy tech support: https://www.godaddy.com/en-uk/contact-us[^] or their community: GoDaddy Community[^] We have no access to your site or the code behind it, so we have no idea what you have done, much less how to fix it!
6 Feb 2022 by Member 15525124
heres the code im having problems with "...
6 Feb 2022 by Richard MacCutchan
The same issue as in your other question, the names you are using are not valid.
5 Feb 2022 by Member 15524347
here is the code i hope this is enough information because there is not much to tell
5 Feb 2022 by Luc Pattyn
$target_file is an unknown variable inside function upload() unless you declare it "global". :)
3 Feb 2022 by PuppyDude
I am trying to display a specific image from different types of links using a dropdown option. What I want to do: I have six different types of links. These links needs to be added into a dropdown option. After the desired Option (category) is...
2 Feb 2022 by Chris Copeland
I think you've got most of the work done there, you just seem to be missing the part of the logic where you get the value from the select box which you can do using the following: # HTML ......
1 Feb 2022 by PuppyDude
I'm trying to fetch images from another URL using JavaScript or jQuery. The image URL is sequential. For example: www.example.com/images/1.png www.example.com/images/2.png www.example.com/images/3.png www.example.com/images/4.png etc... ...
1 Feb 2022 by Richard Deeming
const output = document.getElementById("output"); for (let i = 1; i
15 Jan 2022 by Maximys
Hello!I need develop application for Linux. I use IDE MonoDevelop 3.0.2 for it. You can see my GUI definition on next code's: ..\..\ElectronicPay ...
15 Jan 2022 by Michael O'Sullivan 2021
image1.File = "D:\\DeleteIt.JPG"; Is incorrect. the File system is different. Linux is a directory based file system whereas Microsoft OSes use a Drive:Directory based filesystem. This means that you would load the file like this: image1.File...
12 Dec 2021 by asaad kittaneh
I want to allow the user to upload a picture and save it in the database(sqlite3), I tried the following, but it doesn't work: #So, Can anyone help me, I am stuck at this? I got this error: Exception in Tkinter callback Traceback (most...
12 Dec 2021 by OriginalGriff
Read the error message, it is pretty clear: File "C:/Users/user/Desktop/car dealer/car dealer.py", line 505, in Add_car self.insert_photo = self.convert_image_into_binary(photo) NameError: name 'photo' is not defined So it's line 505, in...
19 Nov 2021 by
Image class which contains an array of unique colors with counts used to sort by color and find duplicates.
5 Nov 2021 by KINYUA TIMOTHY NJIRU
I am trying to align an image B with another image A, I have a method that should return the transformation that should align B to A with the minimum cost possible. I have gotten the derives to use in the method from a research paper that was...
23 Aug 2021 by Patchanka68
Hello.I have a asp project with vb2008 and crystal reports XI. I designed a report wiht images embebed (OLE object linked with jpg files). The route of the file is in a field of database.In the preview of the crystal reports programs all is ok, but when i export this report to a pdf...
10 Aug 2021 by pcprogrammer9
I'm pretty new to Xamarin , i want to change image source after clicking a button , using FromStream method and base64 string , but after run application no image showing , here is my code : note : i test my Base64 String on online convertor and...
4 Aug 2021 by Vedant Modi
I am accepting an image from the user via a streamlit interface. However, I need to crop the image based on certain values. The image is being accepted correctlyThis is my current code to accept the image and pass it to another function where I...
13 Jul 2021 by Richard MacCutchan
You already posted this question at How to make a scrolling background for a JPanel in java? - Java Discussion Boards[^]. Please do not repost.
11 Jul 2021 by Faran Saleem
Dear All, I am trying to develop a functionality that selects an image from local folder and then user can preview it before uploading. I have achieved the functionality using html input tag and applying javaScript, the functionality works fine...
11 Jul 2021 by Faran Saleem
I am trying to select an image using an input tag from JavaScript, however I am getting undefined error. Please see my code below, I am getting error at input.files[0] How can I select an image? function loadImage(input) { var file =...
7 Jul 2021 by sbarnes
Testing dynamichael's OctTree in an application