Re: [Pharo-users] Speed up JPG images loading

2016-11-07 Thread matteob8 via Pharo-users
--- Begin Message --- Hi Sven, my test are close to yours, so there's nothing wrong with my image. [ Form fromFileNamed: 'pharo.png' ] benchFor: 10 seconds. "a BenchmarkResult(708 iterations in 10 seconds 4 milliseconds. 70.772 per second)" In case, I'll follow your hin

Re: [Pharo-users] Speed up JPG images loading

2016-11-06 Thread Ben Coman
What does the Time Profiler show? Can you link to a sample picture? cheers -ben On Sat, Nov 5, 2016 at 11:11 PM, Matteo via Pharo-users wrote: > > > -- Forwarded message -- > From: Matteo > To: "Pharo is welcome (ML)" > Cc: > Date: Sat, 5 Nov 2016 16:10:45 +0100 > Subject: Spee

Re: [Pharo-users] Speed up JPG images loading

2016-11-05 Thread Sven Van Caekenberghe
I found a reference to a similar discussion from the past: https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow Matteo, This is part of what I wrote (for a smaller PNG): 'http://pharo.org/files/pharo.png' asZnUrl saveContentsToFile: 'pharo.png'. 'pharo.png' asFileRef

Re: [Pharo-users] Speed up JPG images loading

2016-11-05 Thread Sven Van Caekenberghe
Hi Matteo, > On 5 Nov 2016, at 16:11, Matteo via Pharo-users > wrote: > > > From: Matteo > Subject: Speed up JPG images loading > Date: 5 November 2016 at 16:10:45 GMT+1 > To: "Pharo is welcome (ML)" > > > Dears, > I'm loading a lot of pictures (70) through the method > "ImageReadWri

[Pharo-users] Speed up JPG images loading

2016-11-05 Thread Matteo via Pharo-users
--- Begin Message --- Dears, I'm loading a lot of pictures (70) through the method "ImageReadWriter>>formFromFileNamed:". The method is very slow, with images bigger than 5MB. Is there a way to improve the pictures speed loading? Thanks Matteo --- End Message ---