BBC BASIC
« JPG image data in memory »

Welcome Guest. Please Login or Register.
Mar 31st, 2018, 11:11pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Cross-platform BBC BASIC (Windows, Linux x86, Mac OS-X, Android, iOS, Raspberry Pi)
BBC BASIC Resources
BBC BASIC Help Documentation
BBC BASIC for Windows Home Page
BBC BASIC Programmers' Reference
BBC BASIC Beginners' Tutorial
BBC BASIC for SDL 2.0 Home Page
BBC BASIC Discussion Group

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: JPG image data in memory  (Read 522 times)
KenDown
New Member
Image


member is offline

Avatar




PM


Posts: 49
xx Re: JPG image data in memory
« Reply #4 on: Feb 15th, 2018, 8:59pm »

I've only just noticed this. Assuming that access from memory would be faster than access from disk, I would find that very useful. At present I use the rendering routine in the BB4W help files to scroll a picture across the screen by rendering it 4 pixels to the left (or right) each time. If that process can be speeded up ...
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 803
xx Re: JPG image data in memory
« Reply #5 on: Feb 16th, 2018, 02:44am »

on Feb 15th, 2018, 8:59pm, KenDown wrote:
I would find that very useful.

Why are you saying "would": does the method I describe not work? As I said to the OP, the API functions look easy enough to call from BBC BASIC, although I've not had any need to try it myself.

Richard.
User IP Logged

KenDown
New Member
Image


member is offline

Avatar




PM


Posts: 49
xx Re: JPG image data in memory
« Reply #6 on: Feb 16th, 2018, 03:36am »

As I said, I've only just noticed this topic, so haven't had a chance to try anything. You said that "if the requirement ... is more general", so I'm indicating that I, for one, would find it useful. That makes two of us; whether that is sufficient interest to justify adding anything to the Wiki is for you to judge, but if no one indicates interest then the Wiki entry will never appear.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 803
xx Re: JPG image data in memory
« Reply #7 on: Feb 16th, 2018, 11:21am »

on Feb 16th, 2018, 03:36am, KenDown wrote:
if no one indicates interest then the Wiki entry will never appear.

I've only very rarely, if ever, created a wiki article simply because somebody "indicates interest". Rather, my contributions have been as a result of things I've needed to do myself and for which I've done the necessary research and coding.

The general idea of the wiki is that if somebody discovers how to do something that they think may be of general interest, they can create an article describing it. So if you work out how to load a JPG from memory, for example using the hints I provided in this thread, do please contribute an article for everybody's benefit.

It's unlikely that I will do so myself unless the situation arises when I need to do it in one of my own programs. To date, loading from file has always been plenty fast enough.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls