Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting images from Firefox clipboard
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tkzv
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2014
Posts: 87

PostPosted: Sun Oct 06, 2024 12:17 pm    Post subject: Getting images from Firefox clipboard Reply with quote

When I copy a screenshot from Firefox, the following types are reported:
Code:
$ xclip -out -selection clipboard -t TARGETS
TIMESTAMP
TARGETS
MULTIPLE
SAVE_TARGETS
image/png
image/jpeg
image/bmp
image/x-bmp
image/x-MS-bmp
image/x-icon
image/x-ico
image/x-win-bitmap
image/vnd.microsoft.icon
application/ico
image/ico
image/icon
text/ico
image/jxl
image/tiff


But when I try to copy to a file anything other than image/png, image/jpeg, image/bmp, image/x-bmp, image/x-MS-bmp, I get an error:
Code:
$ xclip -out -selection clipboard -verbose -t image/x-win-bitmap > img4.bmp
Connected to X server.
Using selection: XA_CLIPBOARD
Using image/x-win-bitmap.
Error: target image/x-win-bitmap not available


The ones I can't get are: TIFF, JPEG XL, MS Windows Icon and what seems to be another MIME type for BMP.
What is the problem? Was Firefox built without some libraries?

www-client/firefox-115.12.0(esr)

Latest binary Firefox 131.0 from https://www.mozilla.org/ correctly returns data for all BMP and icon formats, but still gives errors for JXL and TIFF.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum