Author Topic: Can you show pictures taken from a .zip file? (print events)  (Read 419 times)

a while ago i found this
and saw this
Quote
<bitmap:filePath> - displays a bitmap image indicated by the file path. Example: <bitmap:demo/client/ui/seperator>
i played around with it at times and it works quite well
it can enter folders, but my question is this:
can it grab bitmap images from a .zip file instead of from a folder?



i tried to do this a while ago and i was not successful

I don't think so, the entire point of a .zip is to compress files, isn't it?

I don't think .zip was even supported by Windows for a long time, was it? I thought you needed a third party software like WinRAR to even open .zip for Windows Vista and lower, though I can't be sure.

In any case, maybe the problem is that the file path is only meant to work with regular folders.

don't read ^

You can show images from zip files, really easy: <bitmap:add-ons/bot_blockhead/icon_blockhead.png>

Note that other clients won't see them if they don't have the image at the same path.

yes it can

if you've been on my server then you've probably seen the silly ruses id play on everyone where I'd use bottomprintall(); to show the cool smile peaking at the bottom screen. For instance, the path I used was <bitmap:add-ons/print_1x1_cool_smile/prints/coolSmileT.PNG>