My idea is that I convert the uploaded bitmaps to .png or .jpg via a graphics library via PHP and make some kind of web management system. However when I try to manually open the bitmap file, I can't do it.
I've come across the function that saves the crests to the drive:
public boolean savePledgeCrest(int newId, byte[] data)
{
File crestFile = new File(Config.DATAPACK_ROOT, "data/crests/Crest_" + newId + ".bmp");
try
{
FileOutputStream out = new FileOutputStream(crestFile);
out.write(data);
out.close();
_cachePledge.put(newId, data);
return true;
}
catch (IOException e)
{
_log.log(Level.INFO,"Error saving pledge crest" + crestFile + ":", e);
return false;
}
}
Which I trace into RequestSetPledgeCrest.java, but there it doesn't really shed anymore light on the situation. The file itself seems to be stored in a byte array which is read from readB();, but I can't venture any further into this function.
I'm using l2aCis interlude. Anybody have any extra information on this?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Currently what is the best H5 project with client salvation to get?
All the discussions here were between 2020-2021, there should already be plenty of updates so which one would be best to buy currently.
Question
dpbBryan
My idea is that I convert the uploaded bitmaps to .png or .jpg via a graphics library via PHP and make some kind of web management system. However when I try to manually open the bitmap file, I can't do it.
I've come across the function that saves the crests to the drive:
Which I trace into RequestSetPledgeCrest.java, but there it doesn't really shed anymore light on the situation. The file itself seems to be stored in a byte array which is read from readB();, but I can't venture any further into this function.
I'm using l2aCis interlude. Anybody have any extra information on this?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.