Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ingo Thies Newsgroups: comp.graphics.apps.gnuplot Subject: Extract RGB values from image Date: Mon, 09 Sep 2013 15:18:46 +0200 Lines: 31 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net XR/zklLjhBRUaa6CsaSVsAC62q4ke25AkoITLiUNGjwxg/fMfT Cancel-Lock: sha1:g0qj7ik37ZP+1IdTsHZpCQFddLE= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 Xref: csiph.com comp.graphics.apps.gnuplot:2024 Hi all, I am trying to extract RGB values from images via binary input and "set table": set table 'testimage.asc' plot 'someimage.jpg' binary filetype=jpg with rgbimage unset table However, gnuplot refuses to write out the RGB values, and instead I only get something like # x y type 0 276 i 1 276 i 2 276 i 3 276 i 4 276 i 5 276 i 6 276 i 7 276 i 8 276 i ... Is there a way to write out the RGB values (maybe as hex strings) for each pixel? Best wishes, Ingo