Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6936653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:15:42+00:00 2026-05-27T12:15:42+00:00

Processing.js references state that the @pjs preload directive supports loading base64 images. However, it

  • 0

Processing.js references state that the @pjs preload directive supports loading base64 images. However, it does not state how to use those prelaoded images via loadImage() or by other means.

The closest equivalent is base64 font preloading using the same method; which can be used via createFont() by their font-name (without the extension.)

But I don’t understand how to use preloaded images in the same manner, as images have no embedded names like fonts do. What am I doing wrong?

As for using base64 data:uri without preloading, I have found that loadImage() takes such data readily.

Is it possible to load base64 images via loadImage() and what other options do I have with this API?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:15:42+00:00Added an answer on May 27, 2026 at 12:15 pm

    You actually implicitly answered your own question. Base64 data actually doesn’t need preloading because it is immediately available (i.e. no images need to be downloaded, you just provided the function with all the data it needs) so you can just pass it to loadImage and things will work.

    I’ll make a note to adjust our documentation, because it’s a bit silly to note that you can preload from Base64 data, when there is no functional point in doing so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How does the processing overhead of the length() function in REXX change with the
I have an application that does a large amount of number crunching on an
I have a set of XML files that I am processing with an XSL
I need a regular expression that matches APA format references. I currently have this:
I know that join is not supported on client side with WCF DS thats
I understand that there are several questions on OOD; this one is not a
I am looking for OpenCV java bindings, all the references point to the processing
I have been told that disabling backreferences in perl improves performance (provided you're not
Processing time doubles as Y goes to the right. Can anybody tell me why?
String processing in C# and VB.NET is easy for me, but understanding how to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.