Coder Social home page Coder Social logo

Comments (12)

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

Nice! So creating those screenshots is working perfectly? πŸ‘

Well, snapshot could compress the images, but I guess, the would even increase the size (since you also need the original screenshots).

What do you propose?

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@vytis commented

From all the tools I have found snapshot is the only one that works without problems with Xcode 6. Tried bwoken, Subliminal, KIF and few random scripts with no luck. Good job!

It does sometimes spit out an error, but re-running helps. Not sure if it's because instruments is buggy, some problems with my automator script or snapshot itself.

I think the best thing would be to create thumbnails for all images and use them in screenshots.html instead of full-size ones.

I guess there would need to be a separate folder for thumbnails as well, so that they wouldn't mix up with original screenshots.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

Thanks! Yes, I've been struggling with the other tools as well. That's why I developed snapshot.

What error does it sometimes show?

Creating thumbnails in a subfolder is a good and easy idea. I'll implement this later today. Thanks for your feedback πŸ‘

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

Okay, I just implemented this.

I'm not sure which way is the best:

  • Instead of ./screenshots, the thumbnails are stored in ./thumbnails, which will result in polluting the folder
  • Inside ./screenshots there will be 2 subfolders, thumbnails and originals, which is also not perfect
  • Create the thumbnails in the same folder ./screenshots/de-US/xy.png, just with the name ./screenshots/de-US/xy_thumbnail.png to easily filter it.

I currently implemented the last solution, but I'm not 100% happy with it. What do you think?

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

Ha, just got an idea: Use Base64 encoded images in the HTML. Advantage: You can send the HTML file to someone.

When you click on an image, it will open the original image in the browser.

Alternative: We could generate a PDF file, just like Deliver does.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@vytis commented

Maybe it would be good to have some sort of release directory that would contain all things generated. Not sure if there is a plan of letting people customise the template that generates screenshots.html.

On the other hand producing a PDF would solve these problems, but maybe it's not a very 'lightweight' solution.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@postmechanical commented

Paths to screenshots in the html file should also be relative. As it is, you cannot zip up the output and move it around or share it with others without first removing the local absolute image paths from screenshots.html.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

@postmechanical This is not related to this issue, is it? snapshot does not create thumbnails right now.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@postmechanical commented

@KrauseFx No, I can create a new issue for it if you want.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

@postmechanical Yes, that would be great! πŸ‘
In the mean time you can always use CMD + P to store the report in a PDF file.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@powtac commented

sips can be used with a quality parameter. I'm wondering if the second highest quality param would reduce the file size dramatically.

from fastlane.

fastlanebot avatar fastlanebot commented on May 3, 2024
@KrauseFx commented

Yes, but this would result in storing the screenshots multiple times. I'll close this issue for now.

from fastlane.

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.