Import JPEG images to HP Prime
|
08-24-2019, 06:14 PM
Post: #1
|
|||
|
|||
Import JPEG images to HP Prime
I received an email asking me how to import a JPG file to an HP Prime. They want to manipulate pixels and colors.
I did this once years ago and I don't remember how to do this. Is there a way to covert an image to a workable program file? Thanks in advance. |
|||
08-25-2019, 08:48 PM
Post: #2
|
|||
|
|||
RE: Import JPEG images to HP Prime
You can use AFilesB for this. For example:
L1:=AFilesB("image.jpg",0,1000); will places the first 1000 bytes of the JPG files into a list L1. I played around with PNG / Base64 stuff some time ago, which worked out very well in the end. Below is some of the code I currently use (created with help from others as shown in linked thread): Code: WriteBase64(fname) Example Use: Code: AFiles("tempPNG"):=G0; Maybe not quite the usage in mind, but some clues hopefully in there somewhere. |
|||
08-26-2019, 12:26 AM
Post: #3
|
|||
|
|||
RE: Import JPEG images to HP Prime
Success is the ability to go from one failure to the next without any loss of enthusiasm. View PNG/JPG in your Prime |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)