Re: [Gimp-user] gimp-user-list Digest, Vol 130, Issue 6

2022-08-03 Thread Ofnuts via gimp-user-list

The "Raw image data" import type in "File > Open" is just that (it is
not camera sensor data). But of course you have to specify how the date
is decoded (width, height, color channels, etc...)

On 03/08/2022 02:44, Carl Johnson via gimp-user-list wrote:

The concept of storage in Linux is a flat file space meaning a single
sequence of 1's and 0's which may be organized any which way for a defined
type standard. I was wondering how to open up any file as a binary so I
could 'visualize' it in GIMP or Audacity to help aid analysis of things
like heuristics or segmentations. I tried storing a different file as a
bitmap and opening it but it failed, any ideas?

Thank you for any help you can provide,

Carl


___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] gimp-user-list Digest, Vol 130, Issue 6

2022-08-02 Thread Carl Johnson via gimp-user-list
The concept of storage in Linux is a flat file space meaning a single
sequence of 1's and 0's which may be organized any which way for a defined
type standard. I was wondering how to open up any file as a binary so I
could 'visualize' it in GIMP or Audacity to help aid analysis of things
like heuristics or segmentations. I tried storing a different file as a
bitmap and opening it but it failed, any ideas?

Thank you for any help you can provide,

Carl

On Sun, Jul 31, 2022 at 7:00 AM  wrote:

> Send gimp-user-list mailing list submissions to
> gimp-user-list@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.gnome.org/mailman/listinfo/gimp-user-list
> or, via email, send a message with subject or body 'help' to
> gimp-user-list-requ...@gnome.org
>
> You can reach the person managing the list at
> gimp-user-list-ow...@gnome.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gimp-user-list digest..."
>
>
> Today's Topics:
>
>1. Re:  Question about scripting (Adrian Midgley)
>2. Re:  Question about scripting (Ofnuts)
>3. Re:  Question about scripting (Ofnuts)
>4. Re:  Question about scripting (Kevin Cozens)
>
>
> --
>
> Message: 1
> Date: Sat, 30 Jul 2022 15:39:03 +0100
> From: Adrian Midgley 
> To: Jean-Pierre HOARAU 
> Cc: Shlomi Fish , Mailing Lists
> 
> Subject: Re: [Gimp-user] Question about scripting
> Message-ID:
> <
> can2jwyj3f0bsew2nwfmwa5yktf_pogbco_ihrbh6xeibqsw...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> I'd also find an example interesting.
>
> Adrian Midgley (Retired(Mostly))
>
> On Sat, 30 Jul 2022, 05:21 Jean-Pierre HOARAU, 
> wrote:
>
> > Thank you very much for the link. It is very useful. But my problem is
> not
> > bash but the parameters to give in command line to run gimp procedures. I
> > don't understand very well what I must give for args in a gimp procedure.
> > This is why I asked for an example with a file-jpeg-load or
> file-jpeg-save
> > procedure. I get some error messages that I don't understand. So my
> > question remains, what are parameters to give to these procedures? Could
> > someone write me this command line? So I will have an example that I
> can't
> > find on the net. Thank you.
> >
> > Le sam. 30 juil. 2022 ? 02:25, Shlomi Fish  a
> > ?crit :
> >
> > > hi ,
> > >
> > > On Fri, 29 Jul 2022 05:00:39 +0200
> > > Jean-Pierre HOARAU  wrote:
> > >
> > > > I'm trying to write a script shell and use a procedure. I don't
> > > understand
> > > > how to give the parameters to the script. I do not have the good
> number
> > > or
> > > > parameters. Can someone write to me the command line that I have to
> > enter
> > > > to use the procedures, for example, file-jpeg-load and
> file-jpeg-save?
> > I
> > > > tried this and it doesn't work:
> > > >
> > > > gimp -i -b "(file-jpeg-load RUN-NONINTERACTIVE "/home/user/ev.jpg"
> > > > "/home/user/ev.jpg")" -b "(gimp-quit 0)"
> > > >
> > >
> > > Please read about bash/zsh/ksh/etc. quoting/escaping:
> > >
> > > https://mywiki.wooledge.org/BashFAQ
> > >
> > > [also note https://www.shlomifish.org/open-source/anti/csh/ ]
> > >
> > > > Thank you in advance.
> > > > ___
> > > > gimp-user-list mailing list
> > > > List address:gimp-user-list@gnome.org
> > > > List membership:
> > https://mail.gnome.org/mailman/listinfo/gimp-user-list
> > > > List archives:   https://mail.gnome.org/archives/gimp-user-list
> > >
> > >
> > >
> > > --
> > >
> > > Shlomi Fish   https://www.shlomifish.org/
> > > https://www.shlomifish.org/open-source/resources/tech-tips/
> > >
> > > If a million Shakespeares had to write together, they would write like
> a
> > > monkey.
> > > ? based on Stephen Wright, via Nadav Har?El.
> > >
> > > Please reply to list if it's a mailing list post -
> > https://shlom.in/reply
> > > .
> > >
> > ___
> > gimp-user-list mailing list
> > List address:gimp-user-list@gnome.org
> > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
> > List archives:   https://mail.gnome.org/archives/gimp-user-list
> >
>
>
> --
>
> Message: 2
> Date: Sat, 30 Jul 2022 17:14:49 +0200
> From: Ofnuts 
> To: gimp-user-list@gnome.org
> Subject: Re: [Gimp-user] Question about scripting
> Message-ID: <093a93a3-1e8e-923a-503e-c7f98cd99...@gmx.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> A problem you have is the multiple layers looking at your double quotes:
> the shell interpreter that calls Gimp, and
> the script-fu interpreter. Quotes are processed and not seen by Gimp and
> script-fu.
>
> Since you are on a Unix shell, try this:
>
> printf "%s\n" gimp -i -b "(file-jpeg-load RUN-NONINTERACTIVE
> "/home/user/ev.jpg" "/home/user/ev.jpg")" -b