img2css |
Post Reply |
Author | |
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(0)
Posted: Feb 02 2018 at 11:17am |
Here is another very useful tool. It converts images in css code...(for an image 250x270 I had about 1,3 mb in text)
Try it and see yourself the result http://javier.xyz/img2css/ |
|
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
|
For what purpose would that be used?
This question is not to offend you, it's a simple question. I can not figure out any reason for such conversion. |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(1)
|
Well, it is possible using it, for example, if you need to protect an image so it can't be cloned... try yourself and see what's happens... this makes avoid the use of some plugin used in Word Press
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
One can always take a screenshot (in this case with any zoom factor so he may obtain a very high-quality copy)...
|
|
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(0)
|
Possible, but try to see the difference between the normal image and the one made in css.
If you see the code, it takes every dot of the image and apply a rendering on that. After the image is completed, the rendering will be the best than before, 'cause treated in deep singular data, dot by dot... I know it's not the best, but if needed... |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
It may be efficient for small image especially if they nee dto change according to media query (screen size or printer).
|
|
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(0)
|
This for sure, 'cause for an image 250x250 px it gives a file of about 1,3 mb...in effect it can be useful for picture like those for documents...
Edited by Bravo12 - Feb 08 2018 at 4:58pm |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
1) 1.3mb is a lot for this size but 2) usually the data will be automatically gzipped (compressed) so it will be less to load and 3) it heavily depends on the image, whether it has big patches of monotone color
|
|
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(0)
|
Exact! I tried to gzip the txt file obtained and it results "288 KB (294.912 byte)"and surely as it is a color image it could be less when converted to a b/w one... anyway it is not a tool to be used always as we can see it uses a lot of space...
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |