901 questions
-1 votes
1 answer
226 views
Minimalist load and draw BMP file in Win32?
I'm looking for a minimalist way to load and draw a bitmap in the context of the WIN32 graphics interface. No GDI+, no extra libraries please. It looks like LoadBitmapA would be the right function to ...
1 vote
1 answer
65 views
Why are the images/descriptions from "Enlarge Inno Setup component page only with preview and description" not loading in my script?
Introducing the problem Firstly, this might be a long post (sorry in advance), but after trying to implement the image previews and component descriptions from the question mentioned in the title, I'...
0 votes
2 answers
126 views
Remove Black Background from BitmapImage WinUI 3
First time app developer, I am trying to remove the black from the back of a scanned image. This image is sent by multiple different scanners and saved to the desktop as a PNG. I am trying to take ...
0 votes
0 answers
36 views
Obtuse issues with bitmap derived screenshots
I have these functions in my program, which are supposed to take a screenshot of a specific application by copying its bitmap data and then crop that down to specific coordinates. Last night I was ...
0 votes
1 answer
132 views
Drawing a rectangle over a WPF image to generate a CroppedBitmap of it - Skewed Results (C#)
I'm working on an app feature where the user selects a portion of an image I have displayed by drawing a rectangle over it, And then the cropped part of the image pops up in another Image control in ...
0 votes
0 answers
150 views
How to convert a json file to a bitmap image?
I am having a json file "data.json" and few data to show is: [{ "id":"Tl134567", "type": "Action", "cmd":"something" }...
1 vote
0 answers
95 views
Cannot access BitmapImage from async Task [duplicate]
I have code which generates an image doing lots of things, so I run it as async Task. After the generation is completed the image should be displayed in the Image WPF element. But I get System....
1 vote
1 answer
117 views
BGR grayscale conversion of image giving corrupted image
I am trying to conver BGR bitmap image to grayscale using the code, int main() { FILE* fIn; FILE* fOut; if (fopen_s(&fIn, "D:\\VBox\\Shared\\images\\sample01.bmp", "rb&...
0 votes
1 answer
303 views
The OpenStreetMap tile layer image was not displayed when added in Image control in UWP
I was trying to display the image of tile layer for OpenStreetMap using the Image control in the UWP platform, but the tile layer was displayed or displayed blank. Here is my code. In the MainPage....
0 votes
0 answers
43 views
Bitmap Image Blur
I am trying to box blur a bmp image in a problem set in cs50, the code I wrote successfully identifies a middle pixel which is surrounded by 8 others. The goal is to take the average value of red, ...
1 vote
1 answer
403 views
How can I convert a 256-color bitmap image to DB format?
I'm looking for a way to convert a 256-color bitmap image into an ASM file that contains inside many DB commands with a sequence of BYTES. I create a bitmap with 256 colors and a resolution of 320x200 ...
0 votes
1 answer
91 views
How to replace Bitmap.ClearRect from FMX replace on VCL?
I try to rewrite an FMX project in VCL. Code for QR-code drawing in FMX: for Column := 0 to QRCode.Columns - 1 do begin if QRCode.IsBlack[Row, Column] then QRCodeBitmap.ClearRect(TRectF.Create(...
0 votes
1 answer
204 views
Why does RenderOptions.BitmapScalingMode affect a line appearing in my WPF bitmapImage?
I have a wpf application that displays a bitmapImage in an image control that is inside a viewbox. I use binding to set the image to a bitmapImage object that I create within the code. After creating ...
0 votes
2 answers
732 views
Images in a database
My program manages "items" (think of them as stately homes) and associates with each item zero, one, or more images. Until now these are outside the database. The items in the database point ...
0 votes
0 answers
43 views
If you call multiple BitmapImages at once, some of them get stuck in the download process, and the image won't be displayed in the UI
I have multiple Images in my Window. Every single one of them download another image at the same time. <Image Source="{Binding Converter={StaticResource cachedImgConv},IsAsync=True}" ...