Comments (5)
my_img_and_ico.zip
Here it is.
from imagetoicon.
Your description is very poor... Looks like I need to guess what you did... Then I'm just assuming that you've opened an image with a small pixel size. Is that correct? if not, don't be afraid to correct me!
The problem is that this tool never creates larger images than the original file because the image quality would be crap. If you want larger images, you have to open a large one first. Then you can change every single image by clicking on it. It adapts automatically to the selected size, even too small images are adjusted. But I wouldn't recommend using too small images.
So best result you will get if you open an image that is at least 256x256 pixels because it creates all the you are looking for. 😉
from imagetoicon.
it really can't be..
this is my img.it is 360*360.
I used your tool to open the img .
But when i click the img,it ask me to open img again?
I try to save icon.but it just be 88 or 1616.
I'm in win10、64.
from imagetoicon.
Thanks for the description! 😉
Can you upload your JPG source image and the icon you created so that I can check this out?
from imagetoicon.
After a few tests, I still could not find any problem. 🤔
I can choose a size when I try to open your created 360.ico
file with Adobe Photoshop:
And GIMP also opens all images correctly without problems:
But then I saw that the Windows Explorer displays a size of 8x8,
but the image in the preview clearly has a better quality:
So I checked the file header anyway and quickly created a tool to extract all images from an icon file:
The files are named with the information from the file header of the icon. The first number is the pixel format, followed by the width and height. Please note that width and height must be stored as an unsigned 8-bit integer whose maximum value is 255. Therefore, images with a large size are defined with 0 (zero) in the file header. So the [email protected]
file in the picture above has a size of 256x256 pixels.
At least the file header was correct and I was able to extract all the images. In the next step, I created an icon directly with GIMP to see if there are any differences to my tool. There were no relevant differences and the same problem with the Windows Explorer.
Then I created a symbol with an old format to check the differences with the Windows Explorer. I noticed that PNG compression icons always show the smallest size and older icons display the largest size. So I assume that this is certainly intended by Microsoft.
The end of a long story:
There are no problems and everything works as intended. But please note that my tool only creates PNG compressed icons. These were used for the first time on Windows Vista. Therefore, it may be possible that not every software can handle them.
But I think if a graphics software can not handle a format that has existed for 13 years, the software is absolutely crap. 😜
from imagetoicon.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagetoicon.