-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Support ICO files in image preview #7017
Comments
Can you merge this #7018? Thank you. Sorry for error!! |
If we only want to show the largest size in the ICO file, this is probably a 'starter bug' because the browser preview seems to select the largest size automatically. I'd be concerned though that that's not very useful functionality for most people -- typically ICO files contain multiple sizes, with the largest size being one of the least frequently used. Showing all the sizes would be a big 'move to backlog' since it would require parsing the ICO binary. |
Related forum thread: https://groups.google.com/forum/#!topic/brackets-dev/hkYFFPB4lQc |
@peterflynn I'd suggest to first implement showing just the largest one - that's at least better than nothing. |
Fair enough. Marking 'starter bug' for someone to just add .ico to the image file type list and see how well it works! |
It works. Should we do unit tests or show a hint ( |
We don't have unit tests for any of the other ImageViewer stuff, so probably no tests needed for now (unless you want to write a bunch of them :-) I like the idea of adding a label explaining the size caveat (although I'd maybe say "largest" instead of "biggest"). @larz0 any thoughts on label placement, wording, etc.? |
@peterflynn @SAplayer for the format we could try "256 × 256 pixels (largest) — 700 KB" |
Cleaned up title (was "New wish in Brackets, open file ICO") |
@Denisov21 The PR has been merged and you can view .ico files in the next release (Sprint 38). |
Ok, thank you guys. |
@SAplayer Thank you, can I close it? |
I think so, yes. |
Closing |
I would like Brackets could also view the *. ICO, as similar with *.JPG files.
![1catt1](https://camo.githubusercontent.com/f4754e4fe78518afa980d108aed5fa5ad3ec81d8da477d0e731d397055acf10b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323534373831352f323238323731312f38303930333335632d396662322d313165332d383061352d6632643461353464333137652e4a5047)
I'd like to see a preview of the ICO file on Brackets. I thought to see this image. As regards the actual size on the screen is not interested, I thought you could only see the larger image. I hope someone can implement this feature. Currently I do not know Javascript API that can do this!
The text was updated successfully, but these errors were encountered: