Post Reply 

RR,GG,BB Raw Data images

Dec 22, 2013, 03:07
Post: #31
RE: RR,GG,BB Raw Data images
(Dec 22, 2013 02:01)RobbieK. Wrote:  It's ok, I have no plans for upgrading in the near future. The current image size is more than ideal. And I know that it looks absolutely tiny on a computer screen, however when it's 3m x 2m (meters) in size with Tri RGB Superbright LED's with 30 deg lenses, it does light up a hall. I'll post up a demo once I get the custom animations up, which means getting my head round this lol.

Can you ZIP up the first dozen or so frames from your GIF animation and attach to this thread? I'll make sure it loads those okay before posting.
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 11:09 (This post was last modified: Dec 22, 2013 12:20 by foxmuldr.)
Post: #32
RE: RR,GG,BB Raw Data images
This version will merge in files from a pattern, such as "frame001.bmp" through "frame999.bmp" into either an output .BIN file or .BMP file.

Code:
Usage:
bin2bmp -in:c:\path\to\frame%03u.bmp -out:file.bin -merge
bin2bmp -in:c:\path\to\frame%03u.bmp -out:file.bmp -merge -wide:8

The first will merge into a .BIN file. The second will merge into a .BMP file. The "-wide:8" is optional, but will merge as a wide version. I personally like -wide:20. :-)

The input files to merge must be saved as 24-bit RGB or 32-bit XRGB file formats. Do not use 32-bit ARGB. GIMP may swap color channels.


Attached File(s)
.zip  bin2bmp.zip (Size: 25.47 KB / Downloads: 29)
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 11:18
Post: #33
RE: RR,GG,BB Raw Data images
(Dec 22, 2013 03:07)foxmuldr Wrote:  Can you ZIP up the first dozen or so frames from your GIF animation and attach to this thread? I'll make sure it loads those okay before posting.

Good morning! Sorry I bailed, I suddenly realised it was gone 3am lol. Here's a bunch of the first dozen frames from my gif. Hope they help.


.zip  scrolling001_013.zip (Size: 21.02 KB / Downloads: 35)
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 11:22
Post: #34
RE: RR,GG,BB Raw Data images
Your scrolling images are 15x11, not 11x15.
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 11:25 (This post was last modified: Dec 22, 2013 11:26 by RobbieK..)
Post: #35
RE: RR,GG,BB Raw Data images
(Dec 22, 2013 11:09)foxmuldr Wrote:  This version will merge in files from a pattern, such as "frame001.bmp" through "frame999.bmp" into either an output .BIN file or .BMP file.

Code:
Usage:
bin2bmp -in:c:\path\to\frame%03u.bmp -out:file.bin -merge
bin2bmp -in:c:\path\to\frame%03u.bmp -out:file.bmp -merge -wide:8

The first will merge into a .BIN file. The second will merge into a .BMP file. The "-wide:8" is optional, but will merge as a wide version. I personally like -wide:20. :-)

The input files to merge must be saved as 24-bit RGB or 32-bit XRGB file formats. Do not use 32-bit ARGB. It will may swap color channels.


Sorry just noticed you posted while I was typing up. I'll give it a quick shot. I've been ordered to do xmas food shopping by the Mrs, and knowing me I'd be at this all day lol.

EDIT: Forgot to rotate the images. Sorry about that.
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 11:47
Post: #36
RE: RR,GG,BB Raw Data images
Here's the images rotated. I've not had a chance to play with it yet. But thought I'd post them up incase you do, or if there's any probs etc.


.zip  scrollinggif.zip (Size: 21.38 KB / Downloads: 28)
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 12:15
Post: #37
RE: RR,GG,BB Raw Data images
The BMP files are in an 8-bit indexed color format. They need to be saved in the 24-bit RGB, or 32-bit XRGB format.
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 14:41
Post: #38
RE: RR,GG,BB Raw Data images
I hear what you're saying and for the love of me I just cannot understand why that is. I've exported from the gif at 24 Bit RGB. Why on Earth will they be saved as 8 Bit, does not make sense. Hmm. 307 MS Paint windows are gonna be opening I think lol
Find all posts by this user
Quote this message in a reply
Dec 22, 2013, 16:44 (This post was last modified: Dec 22, 2013 16:59 by foxmuldr.)
Post: #39
RE: RR,GG,BB Raw Data images
(Dec 22, 2013 14:41)RobbieK. Wrote:  I hear what you're saying and for the love of me I just cannot understand why that is. I've exported from the gif at 24 Bit RGB. Why on Earth will they be saved as 8 Bit, does not make sense. Hmm. 307 MS Paint windows are gonna be opening I think lol

I can write it to use 8-bit. It's just a comparatively clunky format. :-)

In addition, if you want to create a long message that's 11 pixels tall, I can extract it frame by frame (moving over one pixel at a time) to produce the scrolling animation effect.

This message is pretty far away from GIMP by now. We should take it up in private email.
Find all posts by this user
Quote this message in a reply
Dec 23, 2013, 01:25
Post: #40
RE: RR,GG,BB Raw Data images
(Dec 22, 2013 16:44)foxmuldr Wrote:  This message is pretty far away from GIMP by now. We should take it up in private email.

Totally agree, pm on it's way.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  RAW to PNG issues with levels grandkodiak 1 289 Nov 4, 2017 23:45
Last Post: paynekj
  Exporting Multiple Layers Into Images (PNG, JPG, etc) SavingMultipleImages 17 11,490 Oct 6, 2014 10:59
Last Post: rich2005
  Imagemagick is not compressing images like GIMP rublacava 1 519 Aug 23, 2014 08:23
Last Post: rich2005
  script to extract and overlay timestamp from jps images Mark Pigott 5 929 Jun 18, 2014 09:46
Last Post: rich2005
  Images won't export as indexed maximum411 6 792 May 29, 2014 04:10
Last Post: maximum411

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS