🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #463

Re: How to draw into a jpeg image

#463
From: Mario Sernicola
Date: Wed, 02 Jun 2004 07:48
21 lines
1755 bytes
Ok, so I've to continue convert JPG into a BMP with an external software,
import the BMP in my TImage component, draw on it and finally import the JPG
in TImage.

I need to draw on TImage canvas in order to catch vertex pixel of a polygon
that describes a shape contained in TImage. When the vertex are know, I
don't need BMP anymore.

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> ha scritto nel
messaggio news:40bd02cb@newsgroups.borland.com...
> > How can I draw on TImage either if it contains a BMP or JPG???
>
> You can't.  You would have to convert the JPG into a BMP first, then draw
on
> it, then convert it back into a JPG again.  The problem is that JPG is a
> lossy format.  The more you alter it, the more image quality it loses.
>
>
> Gambit
>
>
Technical Details
Message-ID: <40bd8664$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40bcd795$1@newsgroups.borland.com> <40bd02cb@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,57413bdb9b690d15
X-Google-Attributes: gid10d0fc,public
Reply-To: "Mario Sernicola" <mariosernicola@nospam.libero.it>
From: "Mario Sernicola" <mariosernicola@nospam.libero.it>
Newsgroups: borland.public.cppbuilder.multimedia
References: <40bcd795$1@newsgroups.borland.com> <40bd02cb@newsgroups.borland.com>
Subject: Re: How to draw into a jpeg image
Date: Wed, 2 Jun 2004 09:48:56 +0200
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 80.181.138.15
Message-ID: <40bd8664$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086162532 80.181.138.15 (2 Jun 2004 00:48:52 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail