🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: jpg to bmp from FrameCallbackProc without fileio

#316
From: Hans Galema
Date: Mon, 17 Jan 2005 14:27
25 lines
2065 bytes
Peter Fagerbrant wrote:

> I would prefer to manage without the TBitmap. As of my understanding the 
> TJPEGImage does contains the bitmap if I call the DIBNeded, but its read 
> only. Or is it unacessible completly?

<from help>
TJPEGImage has an internal bitmap that represents the jpeg image.
This internal image and the original source of the jpeg image are read only.

The following are characteristics of this object. A TJPEGImage object:

         Provides no access to the internal bitmap image
         that it creates for the JPEG image.
</fom help>
	
Read only and not accessible is a contradiction.

> My tought was to read the bitmap and copy it to the bitmaparray becuse my 
> application depends on the bitmaparray in more the a couple of places.

You could transfer the data yourself from the extra TBitmap to your
bitmap array.

Hans.
Technical Details
Message-ID: <41ebcb8c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ebb760@newsgroups.borland.com> <41ebbf15$1@newsgroups.borland.com> <41ebc6d3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,e7775a35dcf064b6
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 17 Jan 2005 15:27:32 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: jpg to bmp from FrameCallbackProc without fileio
References: <41ebb760@newsgroups.borland.com> <41ebbf15$1@newsgroups.borland.com> <41ebc6d3$1@newsgroups.borland.com>
In-Reply-To: <41ebc6d3$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41ebcb8c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105972108 129.125.201.248 (17 Jan 2005 06:28:28 -0800)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail