Ego Eram Reputo Posted March 28, 2015 Share Posted March 28, 2015 (edited) This little filetype plugin is one for all you coders out there It saves the image as a text file containing the pixel RGBA information in numeric format. Wha...? It takes pixel data, like in this tiny image and saves it to a text file like this 255179017255,255235015255,215255015255,155255015255,095255015255,035255015255, 255143143255,255192139255,255255139255,192255139255,139255139255,139255192255, 130035255255,236030255255,255030161255,255030049255,255124030255,255236030255, Numeric formats include decimal, hex (uppercase and lowercase) and binary. The delimiters can be comma, period or space. The pixels data has several formats (RGB, RGBA, BGR, BGRA....,). If anyone has a specific need of an unsupported sequence let me know and I'll consider it. The individual color channels can also be separated (the specified delimiter is placed between them). RGB + comma + uppercase hex + line feeds at end of row: FFB311,FFEB0F,D7FF0F,9BFF0F,5FFF0F,23FF0F, FF8F8F,FFC08B,FFFF8B,C0FF8B,8BFF8B,8BFFC0, 8223FF,EC1EFF,FF1EA1,FF1E31,FF7C1E,FFEC1E, BGRA + period + lowercase hex + no line feeds + separate color channels: 11.b3.ff.ff.0f.eb.ff.ff.0f.ff.d7.ff.0f.ff.9b.ff.0f.ff.5f.ff.0f.ff.23.ff.8f.8f.ff.ff.8b.c0.ff.ff.8b.ff.ff.ff.8b.ff.c0.ff.8b.ff.8b.ff.c0.ff.8b.ff.ff.23.82.ff.ff.1e.ec.ff.a1.1e.ff.ff.31.1e.ff.ff.1e.7c.ff.ff.1e.ec.ff.ff. This plugin will save only. There is no load. Installation: To install the plugin, download my Plugin Pack and unzip it. Run the *.exe installer (written by BoltBait). Restart paint.net. Usage: The filetype shows up in the Save As... dialog. I wrote this to extract some custom 256 item palettes from an image which was (you guessed it) 256 pixels high. I hope you find it useful. Original version dated 23 March 2015 downloaded 217 times Edited May 16, 2018 by toe_head2001 Fixed broken Postimg images 1 4 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.