Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Angus Leeming
On Friday 01 March 2002 4:05 pm, Garst R. Reese wrote: > Angus Leeming wrote: > > > > Yes there was. It means that LyX (not xforms, LyX) decided that your file > > wasn't PS after all but EPS. Probably. I haven't tried to see if xforms will > > load EPS files yet. > > > It used the ps to xpm co

Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Angus Leeming
On Friday 01 March 2002 3:30 pm, Garst R. Reese wrote: > Angus Leeming wrote: > > > > > > Oops, when I add the flimage_enable_ps() thing, the View Postscript says > > > resulting operation gives an empty file. > > > > I've seen this too. In my case the bug was elsewhere. If you run -dbg > > gra

Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Angus Leeming
On Friday 01 March 2002 1:44 pm, Garst R. Reese wrote: Garst, in order to avoid possible crashes, you should add the following line to setPixmap in xformsGImage.C image_->xdisplay = display; so that the end of the routine appears: image_->xdisplay = display; Screen * s

Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Angus Leeming
On Friday 01 March 2002 1:44 pm, Garst R. Reese wrote: > "Garst R. Reese" wrote: > > > > > Angus Leeming wrote: > > > > > > Incidentally, if you have > > > > FL_EXPORT void flimage_enable_ps(void); /* PostScript format */ > > > > in your forms.h file, shove this in xformsGIm

Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Angus Leeming
On Friday 01 March 2002 11:35 am, Garst R. Reese wrote: > Angus Leeming wrote: > What I tried to do was define a converter to ppm, but seem to have that > wrong. Well I am no expert with such things, but do you have also a "scale" command in your PostScript file? Here's a note I made for myself

Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Angus Leeming
On Friday 01 March 2002 1:51 am, Garst R. Reese wrote: > OK, after putting xformsGImage.[Ch] in the right place, and adding > #include, changing the FL_FIXLEVEL < 6 to a 5, it compiled and > installed. > Creating a Postscript to ppm converter,(pstopnm $$i), > I get the same color only graphic and

Re: a bit of fun: an image loader for xforms

2002-03-01 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> The xforms directions given on the LyX webpages do not guide me to R> any of these newer xforms versions: 0.89.0 is as far as I get for R> my FreeBSD system. Would it be good to provide a few more links on R> how to get these very latest xforms

Re: a bit of fun: an image loader for xforms

2002-02-28 Thread R. Lahaye
Angus Leeming wrote on Thu, 28 Feb 2002: > It should work out of the box for xforms 0.89.6 and above. > > It will definitely never work for xforms 0.88 or 0.89.0 > > People with xforms 0.89.x where 1<= x <= 5 will have to ascertain whether > the routines > FLIMAGE * flimage_dup(FLIMAGE

Re: a bit of fun: an image loader for xforms

2002-02-28 Thread John Levon
On Thu, Feb 28, 2002 at 05:05:02PM -0400, Garst R. Reese wrote: > I sure hope so, the current conversions of ps/eps from the convert > converters are totally useless---ranging from pure blank to random dots. uh ? I didn't get anything like this ImageMagick 5.2.2 john -- I am a complete moron