I made a jQuery plug-in, but I'm not sure where to place the image that needs to be loaded.
Do you normally place it in a folder?
There is only one image to load, so I thought I would encode it with Base64 and embed it, but I don't think that's good either.
It depends on the content of the image, but if you hold a certain size of image in dataurl, you need to worry about trivial things such as whether the browser comes out or doesn't come out, so I don't think it's recommended to use a plug-in to put the so-called image file in dataurl.
If you want to set a border pattern on the background of the characters, I color Canvas one pixel at a time and convert it to base64 and extend it with css.
© 2024 OneMinuteCode. All rights reserved.