Re: file-target - just a quick comment on 64bit....

2000-02-21 Thread teunis
Just remembered this thread. This doesn't really apply to file-target really but it'd be good to remember for anyone reading/writing image libs. Of course a good solution for image libs is to support reading from stdin and writing to stdout :) [the calling proggy can deal with the probs.. :]

Re: file-target

2000-02-06 Thread Andreas Beck
The purpose of the file-target is to transparently render a LibGGI application's output to a file. And the application's output can be _anything_. And "anything" means, that this could be also a screenshot for example, which is usually saved as *.pcx, *.ppm or something like that. That

Re: file-target; Console-utils?

2000-02-06 Thread teunis
On Sat, 5 Feb 2000 [EMAIL PROTECTED] wrote: on libggiImg: Release it please :) I suspect SOMEONE will help ya finish it. Unless you're having problems with design [clip libggittf] ooohhh... toy! *cool*. I -could- use that right now :) Yes, I keep redesigning it, although

Re: file-target

2000-02-06 Thread teunis
On Sun, 6 Feb 2000, Andrew Apted wrote: Marcus Sundberg writes: Well, Andrew is wrong. The functionality does not belong there, and you gain nothing by putting it there. Imagine this: one process using display-file to output (via mmap) a constantly changing image to a file. Another

Re: file-target; Console-utils?

2000-02-06 Thread core
Yes, I keep redesigning it, although this time I promise Ill release both libggiImg and libggittf regardless of there design, I am sure others will be able to polish them off from there. Oh please please. But DO include a wishlist - it'll help others in redesigning same too. Now

Re: file-target - could we stop it ?

2000-02-06 Thread Andreas Beck
O.K. folks ... I think we heard enough opinions about the pros and cons of implementing image loading in the file target. Let's summarize: Pro: - It is simple to use for LibGGI-aware applications. Con: - It doesn't help non-LibGGI-aware applications while a separate lib would. - If it

Re: file-target - could we stop it ?

2000-02-06 Thread Christoph Egger
On Sun, 6 Feb 2000, Andreas Beck wrote: Let's get something done (you all know that I hate the "no action talk only" syndrome): 1. Someone please propose an external API for an image loader/writer. At best one that already exists with working code attached to it. 2. We will then

Re: file-target

2000-02-06 Thread Marcus Sundberg
Andrew Apted [EMAIL PROTECTED] writes: Imagine this: one process using display-file to output (via mmap) a constantly changing image to a file. Another process using display-file to read that image (again via mmap) and displaying it. There are no-doubt other ways of achieve the same thing,

Re: file-target

2000-02-06 Thread Marcus Sundberg
[EMAIL PROTECTED] (Christoph Egger) writes: So when we write two libraries, to load and save images - Should the file-target then be removed? No, because as I said: The purpose of the file-target is to transparently render a LibGGI application's output to a file. //Marcus --

Re: file-target

2000-02-05 Thread teunis
On Fri, 4 Feb 2000, Andreas Beck wrote: Hmm - I'd like it better, if it would read only P?M and use ppmtools to convert any other format as required. I'd prefer PNG myself. [clip] -rwxr-xr-x 1 root root19408 Mar 21 1999 /usr/bin/djpeg And I can't afford the

Re: file-target

2000-02-05 Thread Christoph Egger
On Sat, 5 Feb 2000, Christoph Egger wrote: On 5 Feb 2000, Marcus Sundberg wrote: [EMAIL PROTECTED] (Christoph Egger) writes: Is anyone here already hacking the file-target? If not, I want to hack it to add support reading some file-formats This is a completely broken

Re: file-target

2000-02-05 Thread Christoph Egger
On Sun, 6 Feb 2000, Andrew Apted wrote: Christoph Egger writes: Andreas Beck ([EMAIL PROTECTED]) [000203 13:09] wrote: The idea of the ppmtools is to finally put an end to reinventing the picture loading and saving wheel for every program/lib/whatever. As long as you

Re: file-target

2000-02-05 Thread Marcus Sundberg
[EMAIL PROTECTED] (Christoph Egger) writes: If you want to load images into a LibGGI visual, write a library that loads them into a memory visual. What do _you_ think what is the idea behind of the file-target? The purpose of the file-target is to transparently render a LibGGI

Re: file-target

2000-02-05 Thread Christoph Egger
On 5 Feb 2000, Marcus Sundberg wrote: [EMAIL PROTECTED] (Christoph Egger) writes: If you want to load images into a LibGGI visual, write a library that loads them into a memory visual. What do _you_ think what is the idea behind of the file-target? The purpose of the

Re: file-target

2000-02-05 Thread Marcus Sundberg
[EMAIL PROTECTED] (Christoph Egger) writes: And what is the sense? (see below too!) What I have already said several times - to do something sane instead of an ugly kludge. The ggiCheckMode() and ggiCrossBlit() in your program invokes undefined behaviour, because you have not set a mode

Re: file-target

2000-02-05 Thread Marcus Sundberg
[EMAIL PROTECTED] (Christoph Egger) writes: Well, I asked you: What do _you_ think what is the idea behind of the file-target? And you answered: The purpose of the file-target is to transparently render a LibGGI application's output to a file. So, you have contradict yourself.

Re: file-target; Console-utils?

2000-02-05 Thread teunis
On Sat, 5 Feb 2000 [EMAIL PROTECTED] wrote: [clip] on libggiImg: Release it please :) I suspect SOMEONE will help ya finish it. Unless you're having problems with design I am sorry to have not yet made libggiImg available, I have been too busy with work, and research :( I also have a

Re: file-target

2000-02-05 Thread Andrew Apted
Christoph Egger writes: Uhm, and what sense does the fbdev-target make? Or perhaps the question should be: What sense does the RAW format, because of the existing fbdev-target? Or perhaps the question should be: What is the difference between the RAW format and the fbdev-target? The

Re: ggv (Re: file-target)

2000-02-04 Thread Niklas Höglund
On Thu, Feb 03, 2000 at 08:54:03AM -0800, Cesar Crusius wrote: Well, now it displays image, but not correctly. If the image is small a partial copy of it appears on the right side of the screen. My screen is 800x600 if someone wants to help. I can't set it to 640x480 because I'm using a

Re: file-target

2000-02-04 Thread Christian Reiniger
teunis wrote: Why don't you just use a file-stream and leave buffering to the libc ? It's handy for overriding to read from sources -other- than files? :) (ie: network connections [okay poor example], messaging systems *giggle*, WWW connections preformatted files ie embedded WWW or

Re: file-target

2000-02-03 Thread Andrew Apted
Christoph Egger writes: I have now produced a patch of my currently done work. The patch compiles for me, but I've nothing tested yet, so be beware. I post it, because I want have some comments about it. OK, some comments :). Looks pretty good so far. Except for the FILE_PPM and

Re: file-target

2000-02-03 Thread Christoph Egger
On Thu, 3 Feb 2000, Andrew Apted wrote: Christoph Egger writes: I've some question: Is there any macro or any #define, that say at compile time, if libggi is compiled on a bigendian or on a littleendian architecture? There used to be... looking... It is in

Re: file-target

2000-02-03 Thread Christoph Egger
On Thu, 3 Feb 2000, Andrew Apted wrote: Christoph Egger writes: I have now produced a patch of my currently done work. The patch compiles for me, but I've nothing tested yet, so be beware. I post it, because I want have some comments about it. OK, some comments :). Looks

Re: ggv (Re: file-target)

2000-02-03 Thread Christoph Egger
On Wed, 2 Feb 2000, Cesar Crusius wrote: Good that someone talked about it. It never worked in my machine. Segfaults immediately... I tried to email the author to no avail. That's bad. Run it with GGI_DEBUG=255 ggv and send the output to the list. Maybe that someone could help you...

Re: file-target

2000-02-03 Thread Christoph Egger
On Thu, 3 Feb 2000, Andrew Apted wrote: Christoph Egger writes: I have now produced a patch of my currently done work. The patch compiles for me, but I've nothing tested yet, so be beware. I post it, because I want have some comments about it. OK, some comments :). Looks

Re: file-target

2000-02-03 Thread Andreas Beck
+struct file_type_op_t file_type[] = +{ +{ "ppm", _ggi_file_detect_ppm, NULL, _ggi_file_ppm_write }, +{ "bmp", _ggi_file_detect_bmp, _ggi_file_bmp_read, NULL }, +{ NULL, NULL, NULL, NULL } +}; Hmm - I'd like it better, if it would read only P?M and use ppmtools to

Re: ggv (Re: file-target)

2000-02-03 Thread Cesar Crusius
* Christoph Egger ([EMAIL PROTECTED]) [000203 07:38]: That's bad. Run it with GGI_DEBUG=255 ggv and send the output to the list. Maybe that someone could help you... It was not a GGI problem. Here's the culprit: *** config.c.orig Thu Feb 3 08:38:42 2000 --- config.cThu Feb 3

Re: file-target

2000-02-03 Thread Andreas Beck
Hmm - I'd like it better, if it would read only P?M and use ppmtools to convert any other format as required. I want to have reading some different file-formats and not only one. That's why I hack the file-target. This is a misconception IMHO. The idea of the ppmtools is to finally put

Re: file-target

2000-02-03 Thread core
* Andreas Beck ([EMAIL PROTECTED]) [000203 13:09]: Hmm - I'd like it better, if it would read only P?M and use ppmtools to convert any other format as required. I want to have reading some different file-formats and not only one. That's why I hack the file-target. This is a

Re: file-target

2000-02-03 Thread Andreas Beck
So what you should do is to use ppmtools to convert other filetypes to/from ppm on the fly. I almost agree, let me just clarify some points. I think it should be completely transparent. What I think you're suggesting, and what I would suggest, is to have this conversion built in the file

Re: file-target

2000-02-03 Thread teunis
On Thu, 3 Feb 2000, Andreas Beck wrote: +struct file_type_op_t file_type[] = +{ +{ "ppm", _ggi_file_detect_ppm, NULL, _ggi_file_ppm_write }, +{ "bmp", _ggi_file_detect_bmp, _ggi_file_bmp_read, NULL }, +{ NULL, NULL, NULL, NULL } +}; Hmm - I'd like it

Re: file-target

2000-02-02 Thread Christoph Egger
On Wed, 2 Feb 2000, Christoph Egger wrote: On Wed, 2 Feb 2000, Andrew Apted wrote: Christoph Egger writes: Is anyone here already hacking the file-target? No, I'm pretty sure no one is working on it. If not, I want to hack it to add support reading some file-formats

Re: file-target

2000-02-02 Thread Christoph Egger
On Wed, 2 Feb 2000, Christoph Egger wrote: On Wed, 2 Feb 2000, Christoph Egger wrote: On Wed, 2 Feb 2000, Andrew Apted wrote: Christoph Egger writes: Is anyone here already hacking the file-target? No, I'm pretty sure no one is working on it. If

Re: file-target

2000-02-02 Thread Christoph Egger
Hi! I have now produced a patch of my currently done work. The patch compiles for me, but I've nothing tested yet, so be beware. I post it, because I want have some comments about it. Then I will hack on. Christoph Egger E-Mail: [EMAIL PROTECTED] Binary files

Re: file-target

2000-02-02 Thread Andrew Apted
Christoph Egger writes: I've some question: Is there any macro or any #define, that say at compile time, if libggi is compiled on a bigendian or on a littleendian architecture? There used to be... looking... It is in libgii/include/ggi/system.h and libgii/configure :

Re: file-target

2000-02-02 Thread Andrew Apted
Christoph Egger writes: One further question: I need an viewer using the file-target, to test it. Has anyone already one written? There's GGV, which should be on the GGI FTP site. It would prolly be easier though to just take one of the demos (e.g. pageflip), and put something like