🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.graphics
1 messages
1 total messages Started by bfamous Tue, 06 Jan 2009 02:52
trimming white columns off a pf24bit bitmap
#315
Author: bfamous
Date: Tue, 06 Jan 2009 02:52
13 lines
1811 bytes
Greetings all.

I've got a program that captures the scan of an image to print later.
The bitmaps are typically 1600w x 1000px high, and there is generally
an "edge" on both the left and right that is purely white pixels that
i would like to be able to detect where the first column that is not
100% white pixels is, and trim off everything to the left, and then
find the last column that is not 100% white, and trim off everything
to the right, but i'm not certain how to do this.
I'm almost certain it would involve ScanLine, but i'm not good enough
of a programmer to know the proper way to do this.

TIA
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads