>I have an error "'image format not recognized'"
Check the correct URL: http://ubuntu.ecchi.ca/wallpapers/10.04//Maraetaibeforesunrise.jpg in a webbrowser and then try in Pharo 1.1. Which VM (Std/Cog?), which OS and which pharo image do you have? Do you have the same error in another image? If the problem persists open a new issue with details. Bye T. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
It worked for me. On the wiki page, I had to concatenate the URL from two strings to prevent the Google wiki to embed the image on the wiki page...
So, Mariano, is this the cause for the problem or did you run the code posted to the mailing list? Adrian On Jun 24, 2010, at 15:42 , Torsten Bergmann wrote: >> I have an error "'image format not recognized'" > > Check the correct URL: > > http://ubuntu.ecchi.ca/wallpapers/10.04//Maraetaibeforesunrise.jpg > > in a webbrowser and then try in Pharo 1.1. > > Which VM (Std/Cog?), which OS and which pharo image do you have? > Do you have the same error in another image? > > If the problem persists open a new issue with details. > > Bye > T. > > > > -- > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Torsten Bergmann
On Thu, Jun 24, 2010 at 3:42 PM, Torsten Bergmann <[hidden email]> wrote:
Pharo-1.1-11400-rc2 Latest update: #11400 VM: Squeak VM 4.2.2b1 What I evaluated: |form| form := (Form fromBinaryStream: (HTTPSocket httpGet: 'http://ubuntu.ecchi.ca/wallpapers/10.04/' , 'Maraetaibeforesunrise.jpg')). World backgroundImage: form layout: #scaled I attach the PharoDebug.log generated. The problem is in #formFromStream: aBinaryStream Because none of "ImageReadWriter withAllSubclasses" understands the format, and thus, it goes with the ifNone. Can you put a self halt and let me know which subclass in particular is working for you? Cheers Mariano If the problem persists open a new issue with details. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project PharoDebug.log (342K) Download Attachment |
On Jun 28, 2010, at 4:10 45PM, Mariano Martinez Peck wrote:
Works just fine for me, with a variety of VM's, reader is PluginBasedJPEGReadWriter. Try inspecting just the get-stream, and see if you you actually get the image data or something else. (First line in streams collection should start with ÿØÿà JFIF Z in ascii mode ) Cheers, Henry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
2010/6/28 Henrik Johansen <[hidden email]>
Thanks Henry....Weird....Today, I cannot reproduce it anymore. In any image :( I don't know what was the problem then...anyway, forget it. Thank you very much mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |