Comments (12)
@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.
@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.
@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.
@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
andoriginals
, 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.
@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.
@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.
@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.
@KrauseFx commented |
@postmechanical This is not related to this issue, is it? snapshot
does not create thumbnails right now.
from fastlane.
@postmechanical commented |
@KrauseFx No, I can create a new issue for it if you want.
from fastlane.
@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.
@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.
@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)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 3
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file HOT 1
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 12
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
- if and switch expressions Swift 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 fastlane.