-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to copy image files to clipboard #705
Comments
Is anyone working in this issue? |
Browsers allows you to copy images but can you tell where do you paste these images |
In the DMs mainly and other things that I can't think of from the top of my head. |
Convert Bitmap to blob |
Sorry, I don't quite understand this. Can you explain it a bit further or point me to somewhere i can read more? |
@Grimler91 Need to converr images to content://media/external/images/media/171412 and then setUri on clipboard Theres is app called com.slash.clipboard on play stotr that can copy images If using files app i select share image and intercept intent and get content://media/external/images/media/171412 then am start -n com.slash.clipboard/com.slash.clipboard.CopyActivity -a android.intent.action.SEND -t image/* --eu android.intent.extra.STREAM content://media/external/images/media/171412 It does work to copy image to clipbaord But file provider from termux content://com.termux.sharedfiles/storage/emulated/0/DCIM/Camera/20241021_204401.jpgapp cannot handle these and fails |
That requires java code for modification in libtermux api file Till Them best you can do is its utility called termux-gui-view image.jpg |
Feature description
termux-clipboard-set
can copy text into clipboard. But if we pass an image file, nothing happens.I would like to be able to copy image files into android clipboard.
Reference implementation
All the major browsers can copy image to clipboard.
The text was updated successfully, but these errors were encountered: