You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2011/12/20 19:56:11 UTC

[sanselan] ImageReadException and ImageWriteException

WRT ImageReadException and ImageWriteException

Would IOException be better for this?

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
Spring Batch in Action: http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [sanselan] ImageReadException and ImageWriteException

Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Dec 21, 2011 at 7:35 AM, Damjan Jovanovic <da...@gmail.com>wrote:

> On Wed, Dec 21, 2011 at 10:27 AM, Jörg Schaible <
> Joerg.Schaible@scalaris.com
> > wrote:
>
> > Gary Gregory wrote:
> >
> > > WRT ImageReadException and ImageWriteException
> > >
> > > Would IOException be better for this?
> >
> > javax.imageio.IIOException ?
> >
> > - Jörg
> >
>
> I'd rather require as little as possible of the javax.* packages, to make
> porting to Android easier. The missing java.awt.* packages are already
> tough enough.
>

I think we should only worry about porting to Android when we officially
support Android.

On the other hand making Sanselan a javax.imageio provider would be an
> interesting project.
>

Seems like a good think to investigate for the a 2.0+ major release.

Gary


> Damjan
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [sanselan] ImageReadException and ImageWriteException

Posted by Damjan Jovanovic <da...@gmail.com>.
On Wed, Dec 21, 2011 at 10:27 AM, Jörg Schaible <Joerg.Schaible@scalaris.com
> wrote:

> Gary Gregory wrote:
>
> > WRT ImageReadException and ImageWriteException
> >
> > Would IOException be better for this?
>
> javax.imageio.IIOException ?
>
> - Jörg
>

I'd rather require as little as possible of the javax.* packages, to make
porting to Android easier. The missing java.awt.* packages are already
tough enough.

On the other hand making Sanselan a javax.imageio provider would be an
interesting project.

Damjan

Re: [sanselan] ImageReadException and ImageWriteException

Posted by Jörg Schaible <Jo...@scalaris.com>.
Gary Gregory wrote:

> WRT ImageReadException and ImageWriteException
> 
> Would IOException be better for this?

javax.imageio.IIOException ?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [sanselan] ImageReadException and ImageWriteException

Posted by Gary Gregory <ga...@gmail.com>.
On Dec 21, 2011, at 3:28, "Jörg Schaible" <Jo...@scalaris.com> wrote:

> Gary Gregory wrote:
>
>> WRT ImageReadException and ImageWriteException
>>
>> Would IOException be better for this?
>
> javax.imageio.IIOException ?

Or that one too.

Gary

>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org