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)
- Problem with Fastlane Build Version Management for iOS HOT 1
- [Deliver] Improve documentation for macOS since the Quick Start results with error HOT 2
- Fastlane snapshot doesn't work on iOS HOT 4
- Issue with get_push_certificate Command on Ruby 3.2 and 3.3 HOT 1
- Error on Device.disable request due to missing teamId in attributes data
- Deliver cannot upload a build with Individual API Key
- get_build_number(xcodeproj: options[:xcodeproject]) returns wrong number HOT 1
- Fastlane ios build fails, but xCode Product Archive succeeds HOT 1
- Assigning groups to app but only last one shows up HOT 2
- [spaceship] update_availability using Deprecated API HOT 1
- Bug: Handling of Version Numbers Ending in .0.0 in Fastlane
- [GYM] Fastlane doesn't generate the correct plist export file when a certain amount of bundleIds are provided
- Xcode 16 beta 3 tests fail as xcresulttool get object is deprecated HOT 5
- CircleCI PR check uses unsupported Ruby version HOT 1
- use rosetta simulator in the lane - fastlane snapshot
- Ruby 3.3.4 falls back to "App" `output_name`, 3.3.3 works fine HOT 1
- xcodebuild fails during fastlane, but same command works outside of fastlane.
- Fastlane Snapshot devices defaults to Mac
- Archive Fails only when invoking fastlane from Remote Jenkins Server works totally fine when done locally or done from Jenkins Localhost
- Update REXML 3.3.2 or greater to resolve denial of service vulnerability
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.