IIRC gethttp is a wrapper of wget (or curl on mac) which is very
reliable. Try using wget directly and see if any corruption.

gtk can read png file into pixbuf, there is an example in the J7gtk
sample project 'image',  From pixbuf, you can convert it to any other
image formats including argb which what J uses, there is an example of
how to read argb data from a pixbuf in j-plot gtk output source code
(iirc).

Втр, 10 Авг 2010, Raul Miller писал(а):
> On Tue, Aug 10, 2010 at 11:00 AM, Raul Miller <[email protected]> wrote:
> > So... I use gethttp to retrieve a png image which I want to manipulate in J.
> >
> > png=:gethttp'http://rosettacode.org/mw/images/c/c6/Pentagon.png'
> 
> Apparently this is a part of the problem.
> 
> gethttp is corrupting the image.
> 
> So another question is: do we have a reliable equivalent to gethttp?
> 
> Thanks,
> 

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to