Re: [PD] GEM: writing an image different from the one displayed

2009-11-27 Thread Matteo Sisti Sette
I modified IOhannes' patch to use pix_write instead of pix_snap+pix_write and it also crashes, so it is not a difference between pix_write and pix_writer: both crash. I'll have a look at what's different between IOhannes' and Jack's patches that may explain why one crashes and the other does

Re: [PD] GEM: writing an image different from the one displayed

2009-11-27 Thread Jack
Can you try this patch (this is the IOhannes patch) with very small modifications. ++ Jack Le vendredi 27 novembre 2009 à 15:46 +0100, Matteo Sisti Sette a écrit : I modified IOhannes' patch to use pix_write instead of pix_snap+pix_write and it also crashes, so it is not a difference

Re: [PD] GEM: writing an image different from the one displayed

2009-11-27 Thread Matteo Sisti Sette
Jack escribió: Can you try this patch (this is the IOhannes patch) with very small modifications. It works fine now, even with jpeg (sending [file somefilename 95( ) As usual, tiffs are unreadable but i don't care since I want jpegs. However I don't quite understand it: it uses pix_snap AND

Re: [PD] GEM: writing an image different from the one displayed

2009-11-26 Thread Matteo Sisti Sette
Hi Jack Sorry for the delay, I very much appreciate the patch you sent me in response to my question, but only now I've been able to look at it. Unfortunately, it does not do what I was looking for: - first of all, nothing is rendered on screen until the moment when you capture a snapshot,

Re: [PD] GEM: writing an image different from the one displayed

2009-11-26 Thread Matteo Sisti Sette
Ok, IOhannes' patch seems to be what I was looking for, however I have the following problems: - The patch out-of-the-box saves unreadable tiffs just like Jack's version: I guess this is a bug in [pix_writer] (and [pix_write])?? - By sending it a [file something 95( to pix_writer in order to

Re: [PD] GEM: writing an image different from the one displayed

2009-11-26 Thread IOhannes m zmoelnig
Matteo Sisti Sette wrote: Ok, IOhannes' patch seems to be what I was looking for, however I have the following problems: - The patch out-of-the-box saves unreadable tiffs just like Jack's which OS? version: I guess this is a bug in [pix_writer] (and [pix_write])?? might be a bug in the

Re: [PD] GEM: writing an image different from the one displayed

2009-11-26 Thread Matteo Sisti Sette
IOhannes m zmoelnig escribió: Matteo Sisti Sette wrote: Ok, IOhannes' patch seems to be what I was looking for, however I have the following problems: - The patch out-of-the-box saves unreadable tiffs just like Jack's which OS? Windows Vista :( - By sending it a [file something 95( to

Re: [PD] GEM: writing an image different from the one displayed

2009-11-26 Thread Jack
No problem ;) The patch from IOhannes should work fine. ++ Jack Le jeudi 26 novembre 2009 à 17:28 +0100, Matteo Sisti Sette a écrit : Hi Jack Sorry for the delay, I very much appreciate the patch you sent me in response to my question, but only now I've been able to look at it.

Re: [PD] GEM: writing an image different from the one displayed

2009-11-18 Thread Jack
Yep, this is better and more simple. I wanted to use the texture in my exemple ;) ++ Jack Le mardi 17 novembre 2009 à 08:50 +0100, IOhannes m zmölnig a écrit : This is a multi-part message in MIME format. --080002020704010006050600 Content-Type: text/plain; charset=UTF-8

Re: [PD] GEM: writing an image different from the one displayed

2009-11-16 Thread matteo sisti sette
Thank you! May you (or anybody) please make a simple example patch? I'm not sure how to combine gamframebuffer and pix_write so that the image saved is not the one displayed Thanks again m. 2009/11/16 IOhannes m zmölnig zmoel...@iem.at: ues [gemframebuffer] fmasdr IOhannes -BEGIN PGP

Re: [PD] GEM: writing an image different from the one displayed

2009-11-16 Thread stéfan piat
A patch from Jack... 2009/11/16 matteo sisti sette matteosistise...@gmail.com Thank you! May you (or anybody) please make a simple example patch? I'm not sure how to combine gamframebuffer and pix_write so that the image saved is not the one displayed Thanks again m. 2009/11/16

Re: [PD] GEM: writing an image different from the one displayed

2009-11-16 Thread Jack
I have done this patch. It works with a [gemwin] with [dimen 800 600( and capture a picture with dimen = 1600x1200. Hoping it helps. ++ Jack Le lundi 16 novembre 2009 à 01:41 +0100, Matteo Sisti Sette a écrit : Hi, I have to modify some patches made by another person. In one of them,

Re: [PD] GEM: writing an image different from the one displayed

2009-11-16 Thread Matteo Sisti Sette
Thank you so much Jack and Stéfan :) ciao m. Jack escribió: I have done this patch. It works with a [gemwin] with [dimen 800 600( and capture a picture with dimen = 1600x1200. Hoping it helps. ++ Jack Le lundi 16 novembre 2009 à 01:41 +0100, Matteo Sisti Sette a écrit : Hi, I have to

Re: [PD] GEM: writing an image different from the one displayed

2009-11-16 Thread IOhannes m zmölnig
This is a multi-part message in MIME format. --080002020704010006050600 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jack wrote: I have done this patch. It works with a [gemwin] with [dimen 800 600( and capture a picture wit= h dimen =3D

[PD] GEM: writing an image different from the one displayed

2009-11-15 Thread Matteo Sisti Sette
Hi, I have to modify some patches made by another person. In one of them, [pix_write] is used to save screenshots of the image being shown in the gemwin. However, the user would like to be able to save a higher quality image, namely 2000x2000 (so it can be printed). To my knowledge (and to

Re: [PD] GEM: writing an image different from the one displayed

2009-11-15 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matteo Sisti Sette wrote: Any idea? ues [gemframebuffer] fmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org