-
-
Notifications
You must be signed in to change notification settings - Fork 28
(Rdx) Usage
Read Stanton edited this page May 22, 2024
·
6 revisions
SmartImage.Rdx is the cross-platform command-line form of SmartImage.
Argument | Values | Description |
---|---|---|
-h , --help
|
Display help info | |
-v , --version
|
Display version info | |
-e , --search-engines
|
<engines...> |
Search engines (comma-delimited) |
-p , --priority-engines
|
<engines...> |
Priority engines (comma-delimited) |
--read-cookies |
Reads browser cookies for more reliable search results (Firefox only) | |
--live |
Displays results in real-time as a table | |
-f , --output-format
|
<format> : None , Delimited
|
Output file format (comma-delimited) |
-o , --output-file
|
<filename> |
Output file format |
-d , --output-delim
|
<delimiter> |
Output file delimiter |
--output-fields |
<fields...> : None , Name , Url , Similarity , Artist , Site
|
Output fields (comma-delimited) |
-x , --command-exe
|
<path> |
Command/executable to invoke upon completion |
-c , --command-args
|
<args> |
Arguments to pass to command |
--keep-open |
Ask confirmation before exiting |
Input can either be a direct image URI or a file path. Standard input piping is also supported, in which case the input can either be a file path or binary image data.
Context menu integration is supported on Linux and Windows.
sudo ./SmartImage integrate --ctx-menu <true/false>
Root permission is required for writing to /usr/share/applications
.
./SmartImage integrate --ctx-menu <true/false>
SmartImage.Rdx is compatible with ShareX actions.
- Search by direct image URI, write results to
output.csv
./SmartImage "https://i.redd.it/xixxli0axz7b1.jpg" -o output.csv
-
(Linux) Store file path in shell variable
cx1
which is piped to SmartImage; reads cookies, priority engines is set toAuto
, search engines areArtwork
andYandex
.
cx1="/home/neorenegade/1654086015521.png"
neorenegade@localhost:/mnt/c/Users/Deci/$ echo -nE $cx1 | ./SmartImage --read-cookies -p Auto -e Artwork,Yandex
-
(Windows) Read image bytes into variable
$cx2
which is piped to SmartImage; reads cookies, priority engines is set toAuto
, search engines areArtwork
andYandex
.
$cx2=[System.IO.File]::ReadAllBytes($(Resolve-Path "..\..\Pictures\Art\Atago_final_1-3.png"))
$cx2|.\SmartImage.exe --read-cookies -p Auto -e Artwork,Yandex
Last updated: 2024-05-22 v1.0.5