Comments (4)
Also, according to the docs, we can tell raco to set the incs rather than having us moving them inside the .app ourselves: raco exe --icns ‹.icns-path›
from ivy.
@IonoclastBrigham
Does OS X actually require using the @2x
file naming scheme? I'm mostly familiar with with the use of @2x
file names when applying the principles of "responsive design" to images in a web page. And in that case, I think the new HTML5 standards (the srcset
attribute or the picture
element) offered a better, more flexible solution. I don't like how @2x
treats the lower resolution as the standard base -- even smart phones are starting to get high-density screens -- and I kind of think using @2x
in the filename just looks weird.
I do like the idea of using ImageMagick (or possibly GraphicsMagick) to take care of exporting the SVG at different sizes. Adding a build requirement will be less of an issue when we add binary packages, right?
from ivy.
1.0 was just released as binary packages for windows, linux, and os x. So yeah, the build dependency is irrelevant for the average user. And anyone who can install racket and build ivy from source likely already has ImageMagick installed. This is probably okay.
To your point, Mac and iOS apps can bundle copies of their raster assets with @2x and @3x variants for higher-density screens. This is equivalent to the drawable-Xdpi directory structure, for Android apps. It's not strictly necessary, as the system will try to pick the best version available, and scale it if needed. But it could potentially look kinda janky, so if you want control over how it looks, you provide them.
Alternatively, we might be able to use a vector version directly, though it might need to be exported from svg to some intermediate format. I know a lot of iOS/OS X graphics get packaged up as PDFs, but I'm not sure you can do that kinda thing with app icons.
from ivy.
Update: read-bitmap
has the optional keyword argument #:try-@2x?
from ivy.
Related Issues (20)
- AND Search Peculiarities
- Ivy from Finder HOT 1
- Temporary Files HOT 1
- Enhanced Tag Entry HOT 3
- Configuration File HOT 1
- Installation error HOT 2
- macOS TouchBar support
- Tag format validation
- Collection / Directory Reloading HOT 1
- Menu item and/or keyboard shortcut to open current image in external editor
- Add "Zoom to Fit" menu item/accelerator key HOT 2
- New -f command line option for find-like behavior HOT 1
- Add "Open directory as collection" menu item accelerator key HOT 1
- "Copy path to clipboard" menu item and accelerator key in tag browser.
- Star rating accelerator keys
- Ivy should prompt or auto-save tags before doing anything that will lose those tags
- BUG: Error reading xmp:subject from some images
- Unsaved tags are cleared when toggling gif animation
- Fullscreen Menu + Hotkey Not Working on Recent macOS. HOT 1
- Support `-t` and `-u` commandline filtering options for tagged and untagged collections HOT 1
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 ivy.