alibaba / alibaba/tidevice

How do i convert **<PIL.PngImagePlugin.PngImageFile image mode=RGB size=349x500 at 0x103BB1390>** value to NSImage to display on NSImageView in my mac application?

Open
#302 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2.6k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Hi

I'm getting response like below.

screenshot {'value': , 'timestamp': 1679578634141}

How do i convert **** value to NSImage to display on NSImageView in my mac application?

I'm getting this value using "tidevice perf -B bundleID" command in my macos application using swift language in Xcode.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the output produced by the `tidevice perf -B bundleID` command and the surrounding tidevice documentation or entry point for that command. Determine what image representation is returned and document how a macOS Swift application can display it in an NSImageView; done means the conversion guidance is clear and reproducible.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, swift
Domain
cli, desktop, mobile-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.