Jump to content

Best way to store and display ICOs


dimik2

Recommended Posts

Hi

 

I facing with a task where I have to store icons (standard ms windows .icos) in a database then displaying them.

By now I did some research and all current browsers ie,firefox,chrome are able to display icons natively without conversion.

I also found a class to convert them to png

http://www.phpclasses.org/package/2369-PHP-Extract-graphics-from-ico-files-into-PNG-images.html

 

What would you suggest how to implement this. The drawback directly displaying icons is that an icon file is a container file which can contain icons with different resolutions so the browser will only show one. The drawback in converting icos to PNG or gif is they will use up more space but displaying them later won't be an issue.

 

Thanks!

:wtf:

Link to comment
https://forums.phpfreaks.com/topic/209614-best-way-to-store-and-display-icos/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.