Giter Club home page Giter Club logo

Comments (17)

JamieMason avatar JamieMason commented on May 24, 2024

Ben you're absolutely right. Thanks so much for this detailed feedback, it's right on the money. I'll get all this addressed.

from grunt-imageoptim.

at0g avatar at0g commented on May 24, 2024

Thanks Jamie, nice one =)

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

Hey Ben, let me know if https://github.com/JamieMason/grunt-imageoptim now covers everything and is clear.

Cheers

from grunt-imageoptim.

at0g avatar at0g commented on May 24, 2024

Hi Jamie,
My only critique is to mention the "allow access for assistive devices" system preference for jpegmini (it is off by default) or make a mention of using the imageoptim-cli directly for troubleshooting (using CLI will provide the error message that the system preference needs to be enabled).
Aside from that one little thing, it looks great.

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

ah I forgot about that, I'll add it to the README as well. The version I released today should now output the exact same error output as ImageOptim-CLI which should help a little too.

Thanks, anything else please mention - it's all really useful info.

from grunt-imageoptim.

at0g avatar at0g commented on May 24, 2024

Nice one. I think that the error message is a big deal, if you're displaying the CLI errors, it should help a lot.

When installing jpegmini, I went with the in app purchase from the lite version and was a bit concerned that the app name looked wrong (due to the -lite suffix). I realise now that I couldn't get it working due to the assistive devices thing, but at the time went and downloaded the full version from the app store.

It appears you're all over that particular case:
JamieMason/ImageOptim-CLI#26

I presume this is the natural order for most people (try before buying).

It wasn't a big deal, but if the CLI works with either naming (jpegmini or jpegmini-lite) perhaps it is worth mentioning that the in-app upgrade will work without renaming or installing the full version.
Although it may be unnecessary now you've added better error handling, as it was something I tried when attempting to resolve the assistive devices thing.

After work I'll do a clean install and let you know if there are any gnarly bits, but I think you've covered it now.

Cheers

from grunt-imageoptim.

cweekly avatar cweekly commented on May 24, 2024

+1 for mentioning System preferences > Accessibility > 'Enable access for assistive devices' option [within OSX Mountain Lion] is REQUIRED for jpeg-mini to work ... and another +1 for making errors more visible from grunt context. Thanks! :)

PS Thanks to my headcold, I didn't come looking here at the issues page until I'd already figured this one out for myself (which I was able to by running imageOptim without grunt, and thus got a helpful error message). Was going to raise the issue to help others avoid the pain of figuring it out.

from grunt-imageoptim.

rictorres avatar rictorres commented on May 24, 2024

One of the most beautiful and detailed issues I've seen on Github.
Not only has it helped me save a lot of time but also taught me how to create a meaningful issue/bug report.

Thanks to all ;)

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

Definitely, I wish more people wrote issues like @at0g

from grunt-imageoptim.

at0g avatar at0g commented on May 24, 2024

Awww shucks

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

Hey @at0g,
I've started to put together an FAQ on the ImageOptim-CLI README (not yet released) and if you have a moment I'd love it if you could add any others you know can be issues for new starters.

Here are the ones I have so far;

  • Do ImageOptim, ImageAlpha, or JPEGmini come bundled with the ImageOptim-CLI installation?
  • Do I have to pay to use ImageOptim-CLI?
  • Why are shorthand options supplied in the format imageoptim -a -j -q instead of the more common imageoptim -ajq?
  • The WebP image format looks promising, can you get ImageOptim-CLI to convert images to it?
  • Can you get ImageOptim-CLI to skip images it's already processed, if they haven't changed?

Windows and Linux

  • Can I use ImageOptim-CLI on Windows or Linux?
  • Are there any plans for ImageOptim-CLI to support Windows or Linux?
  • I don't have OS X, can you recommend an alternative to ImageOptim-CLI?

JPEGmini

  • Can I use ImageOptim-CLI with JPEGmini Lite, the free version of JPEGmini?
  • I upgraded from JPEGmini Lite to JPEGmini but ImageOptim-CLI still says JPEGmini is not installed.
  • ImageOptim-CLI says “To automate JPEGmini we need to enable GUI Scripting”, how do I do that?

ImageAlpha

  • I don't think ImageAlpha is running, I can't see anything.
  • Can I configure ImageAlpha's settings using ImageOptim-CLI?

Thanks Ben.

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

Eventually read more on the imageoptim homepage and learn I must explicitly enable the app to run, because I'm on mountain lion and gatekeeper is ruining my mojo.

@at0g Can you tell me more about this? I couldn't find the enabling info you mentioned on imageoptim.com

from grunt-imageoptim.

cweekly avatar cweekly commented on May 24, 2024

@JamieMason - "System preferences > Accessibility > 'Enable access for assistive devices' option" refers to prerequisite configuration of OSX Mountain Lion per se.

HTH
Chris

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

Sorry @cweekly I didn't understand your comment — are you referring to the way of enabling GUI Scripting being different on Mavericks -vs- previous versions of OS X?

from grunt-imageoptim.

cweekly avatar cweekly commented on May 24, 2024

Sorry for my lack of clarity; my comment and experience are specific to Mountain Lion only. I don't know about Mavericks.

from grunt-imageoptim.

acusti avatar acusti commented on May 24, 2024

@JamieMason

Eventually read more on the imageoptim homepage and learn I must explicitly enable the app to run, because I'm on mountain lion and gatekeeper is ruining my mojo.

I believe @at0g is referring to the need previously to explicitly exempt ImageOptim from Gatekeeper so that it can run (necessary to open mac apps that are not Developer ID-signed with the default Gatekeeper setting in Mac OS 10.8+). This process is described in the Apple support doc “About Gatekeeper”, under “How to open an app from a unidentified developer and exempt it from Gatekeeper”.

As far as I can tell, the special right-click-to-open process is not necessary with the latest version of ImageOptim, which appears to be Developer ID-signed, though it is still necessary with ImageAlpha (see screenshot below). But I would guess that either way, you still need to open the apps at least once before they can be automated.

screenshot 2014-03-20 09 58 56

from grunt-imageoptim.

JamieMason avatar JamieMason commented on May 24, 2024

Sorry for the huge wait, I will close this and instead track ongoing issues over at https://github.com/JamieMason/ImageOptim-CLI/.

from grunt-imageoptim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.