Re: FIJI .eps writer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: FIJI .eps writer

dscho
Hi Rodrigo,

a much better place to ask for such things is the ImageJ mailing list
(endless benefits: more knowledge, virtually guaranteed response even on
weekends and during vacations, public record, etc etc)

On Sun, 1 Dec 2013, Rodrigo Roberto Bammann wrote:

> I came across a FIJI plugin that you developed a while ago called
> EPS_Writer. Since I'm trying to use images I manipulated in Inkscape, I
> need FIJI to recognize .eps files. However, when I try using your
> plugin, it doesn't work.

As the name of the plugin suggests, it is a writer, not a reader. Are you
trying to open files in Fiji that were saved by Inkscape? In that case,
you will have a much easier time using the SVG_Reader:

        https://github.com/fiji/fiji/blob/master/src-plugins/IO_/src/main/java/io/SVG_Reader.java

> An Exception window shows up.

For the record: an exception window contains quite a lot of useful
information, hence it is not enough to report that an exception occurred.
It is necessary to save that exception message (using the helpful
File>Save As command, not a screenshot) and provide the people you hope
will help you with it.

> Is there any trick I haven't done, or any further development on the
> plugin?

There has not been any work by myself, but Wilhelm Burger worked on an
enhanced version (which he renamed to Export EPS), but the link on the
ImageJ website is broken:

        http://staff.fh-hagenberg.at/burger/imagej/Export_EPS.html

It seems that the now-valid URL is

        http://staff.fh-hagenberg.at/burger/imagej/plugins/ExportEps/index.html

but the link to the .java file on that page is also broken and should
actually point to:

        http://staff.fh-hagenberg.at/burger/imagej/plugins/ExportEps/Export_EPS.java

I will work in the next minutes on integrating it as a new version of the
EPS_Writer into Fiji.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FIJI .eps writer

dscho
Hi,

On Mon, 2 Dec 2013, Johannes Schindelin wrote:

> I will work in the next minutes on integrating it as a new version of
> the EPS_Writer into Fiji.

Actually, I forgot that I did this a long time ago already... ;-)

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FIJI .eps writer

Burger Wilhelm
Hello Johannes,

thanks for pointing out the broken link -- the EPS-plugin mentioned is found at http://staff.fh-hagenberg.at/burger/imagej. I just noticed that I have a newer version for private use that is based on the (strongly modified) EpsGraphics library. It's main advantage is that it also exports vector overlays.
If I find the time I will repackage the new version and put it online in the next few days.

Kind regards,
Wilhelm


> -----Original Message-----
> From: Johannes Schindelin [mailto:[hidden email]]
> Sent: Monday, December 02, 2013 6:05 PM
> To: Rodrigo Roberto Bammann
> Cc: [hidden email]; Wilhelm Burger
> Subject: Re: FIJI .eps writer
>
> Hi,
>
> On Mon, 2 Dec 2013, Johannes Schindelin wrote:
>
> > I will work in the next minutes on integrating it as a new version of
> > the EPS_Writer into Fiji.
>
> Actually, I forgot that I did this a long time ago already... ;-)
>
> Ciao,
> Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FIJI .eps writer

ctrueden
Hi all (mostly Dscho & Mark),

Wilhelm Burger wrote:
> I just noticed that I have a newer version for private use that is
> based on the (strongly modified) EpsGraphics library. It's main
> advantage is that it also exports vector overlays.

SCIFIO also has an EPS writer [1], which I think was adapted from ImageJ's
EPS_Writer years ago. I did not check whether it has been updated much
since then. It would be good to get any relevant improvements into SCIFIO,
so that EPS reading and writing works "out of the box" for ImageJ2,
ImgLib2, etc.

Regards,
Curtis

[1]
https://github.com/scifio/scifio/blob/master/scifio/src/main/java/io/scif/formats/EPSFormat.java


On Mon, Dec 2, 2013 at 11:41 AM, Burger Wilhelm <
[hidden email]> wrote:

> Hello Johannes,
>
> thanks for pointing out the broken link -- the EPS-plugin mentioned is
> found at http://staff.fh-hagenberg.at/burger/imagej. I just noticed that
> I have a newer version for private use that is based on the (strongly
> modified) EpsGraphics library. It's main advantage is that it also exports
> vector overlays.
> If I find the time I will repackage the new version and put it online in
> the next few days.
>
> Kind regards,
> Wilhelm
>
>
> > -----Original Message-----
> > From: Johannes Schindelin [mailto:[hidden email]]
> > Sent: Monday, December 02, 2013 6:05 PM
> > To: Rodrigo Roberto Bammann
> > Cc: [hidden email]; Wilhelm Burger
> > Subject: Re: FIJI .eps writer
> >
> > Hi,
> >
> > On Mon, 2 Dec 2013, Johannes Schindelin wrote:
> >
> > > I will work in the next minutes on integrating it as a new version of
> > > the EPS_Writer into Fiji.
> >
> > Actually, I forgot that I did this a long time ago already... ;-)
> >
> > Ciao,
> > Johannes
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FIJI .eps writer

Burger Wilhelm
Hello Curtis,

thanks for this info. I suppose EPS "reading" is not the issue here (actually quite involved and yet dispensable). The additional features I found most valuable in my own EPS implementation are (a) exporting true binary images as bitmaps and (b) adding ImageJ overlays as vector graphics.

Perhaps even more useful (considering modern typesetting workflows) would be PDF exporter with these capabilities.

--Wilhelm

________________________________________
From: ImageJ Interest Group [[hidden email]] On Behalf Of Curtis Rueden [[hidden email]]
Sent: Monday, December 02, 2013 20:22
To: [hidden email]
Subject: Re: FIJI .eps writer

Hi all (mostly Dscho & Mark),

Wilhelm Burger wrote:
> I just noticed that I have a newer version for private use that is
> based on the (strongly modified) EpsGraphics library. It's main
> advantage is that it also exports vector overlays.

SCIFIO also has an EPS writer [1], which I think was adapted from ImageJ's
EPS_Writer years ago. I did not check whether it has been updated much
since then. It would be good to get any relevant improvements into SCIFIO,
so that EPS reading and writing works "out of the box" for ImageJ2,
ImgLib2, etc.

Regards,
Curtis

[1]
https://github.com/scifio/scifio/blob/master/scifio/src/main/java/io/scif/formats/EPSFormat.java


On Mon, Dec 2, 2013 at 11:41 AM, Burger Wilhelm <
[hidden email]> wrote:

> Hello Johannes,
>
> thanks for pointing out the broken link -- the EPS-plugin mentioned is
> found at http://staff.fh-hagenberg.at/burger/imagej. I just noticed that
> I have a newer version for private use that is based on the (strongly
> modified) EpsGraphics library. It's main advantage is that it also exports
> vector overlays.
> If I find the time I will repackage the new version and put it online in
> the next few days.
>
> Kind regards,
> Wilhelm
>
>
> > -----Original Message-----
> > From: Johannes Schindelin [mailto:[hidden email]]
> > Sent: Monday, December 02, 2013 6:05 PM
> > To: Rodrigo Roberto Bammann
> > Cc: [hidden email]; Wilhelm Burger
> > Subject: Re: FIJI .eps writer
> >
> > Hi,
> >
> > On Mon, 2 Dec 2013, Johannes Schindelin wrote:
> >
> > > I will work in the next minutes on integrating it as a new version of
> > > the EPS_Writer into Fiji.
> >
> > Actually, I forgot that I did this a long time ago already... ;-)
> >
> > Ciao,
> > Johannes
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html