Skip to content

Rdx v1.0.4

Compare
Choose a tag to compare
@Decimation Decimation released this 03 May 05:53
· 11 commits to v3 since this release

Changes

  • Refactoring & improvements
  • Add stdin parsing support

Standard input

SmartImage now accepts input via the standard input stream. The input can either be a file directory or binary image data.

Linux

Example: Creating a shell variable cx1 containing the file path which is then piped into SmartImage.

cx1="/home/neorenegade/1654086015521.png"
neorenegade@localhost:/mnt/c/Users/Deci/$ echo -nE $cx1 | ./SmartImage.Rdx/bin/Release/net8.0/publish/linux-x64/SmartImage --read-cookies -p Auto -e Artwork,Yandex

Received input from stdin
 ____                                      __       ______
/\  _`\                                   /\ \__   /\__  _\
\ \,\L\_\     ___ ___       __      _ __  \ \ ,_\  \/_/\ \/      ___ ___       __        __        __
 \/_\__ \   /' __` __`\   /'__`\   /\`'__\ \ \ \/     \ \ \    /' __` __`\   /'__`\    /'_ `\    /'__`\
   /\ \L\ \ /\ \/\ \/\ \ /\ \L\.\_ \ \ \/   \ \ \_     \_\ \__ /\ \/\ \/\ \ /\ \L\.\_ /\ \L\ \  /\  __/
   \ `\____\\ \_\ \_\ \_\\ \__/.\_\ \ \_\    \ \__\    /\_____\\ \_\ \_\ \_\\ \__/.\_\\ \____ \ \ \____\
    \/_____/ \/_/\/_/\/_/ \/__/\/_/  \/_/     \/__/    \/_____/ \/_/\/_/\/_/ \/__/\/_/ \/___L\ \ \/____/
                                                                                         /\____/
                                                                                         \_/__/
OS                Linux / Unix 5.15.146.1
Runtime           8.0.0
Terminal ANSI     True
Terminal colors   EightBit
Terminal links    True
Terminal Unicode  True
Version           1.0.4.0
Uploading query: 50%
Search engines    Yandex, Artwork
Priority engines  Auto
Auto-search       True
Read cookies      True
Input             /home/neorenegade/1654086015521.png (File) [image/png]: True
Upload            https://pomf2.lain.la/f/j5d0geat.png
Running search: 0%
Ascii2D 2 / 5: 40%
EHentai 3 / 5: 60%
Yandex 4 / 5: 80%

Windows

Example: (PowerShell) Copying image data into a variable which is then piped into SmartImage.

$cx2=[System.IO.File]::ReadAllBytes($(Resolve-Path "..\..\Pictures\Art\Atago_final_1-3.png"))
$cx2|.\SmartImage.exe --read-cookies -p Auto -e Artwork,Yandex

Received input from stdin
 ____                                      __       ______
/\  _`\                                   /\ \__   /\__  _\
\ \,\L\_\     ___ ___       __      _ __  \ \ ,_\  \/_/\ \/      ___ ___       __        __        __
 \/_\__ \   /' __` __`\   /'__`\   /\`'__\ \ \ \/     \ \ \    /' __` __`\   /'__`\    /'_ `\    /'__`\
   /\ \L\ \ /\ \/\ \/\ \ /\ \L\.\_ \ \ \/   \ \ \_     \_\ \__ /\ \/\ \/\ \ /\ \L\.\_ /\ \L\ \  /\  __/
   \ `\____\\ \_\ \_\ \_\\ \__/.\_\ \ \_\    \ \__\    /\_____\\ \_\ \_\ \_\\ \__/.\_\\ \____ \ \ \____\
    \/_____/ \/_/\/_/\/_/ \/__/\/_/  \/_/     \/__/    \/_____/ \/_/\/_/\/_/ \/__/\/_/ \/___L\ \ \/____/
                                                                                         /\____/
                                                                                         \_/__/
OS                Windows / Microsoft Windows NT 10.0.19043.0
Runtime           8.0.4
Terminal ANSI     True
Terminal colors   TrueColor
Terminal links    True
Terminal Unicode  True
Version           1.0.4.0
Uploading query: 50%
Search engines    Yandex, Artwork
Priority engines  Auto
Auto-search       True
Read cookies      True
Input             C:\Users\Deci\AppData\Local\Temp\tmppwbgc4.tmp (File) [image/png]: True
Upload            https://pomf2.lain.la/f/7iyx9ga.tmp
Running search: 0%
EHentai 2 / 5: 40%
Iqdb 3 / 5: 60%
Ascii2D 4 / 5: 80%