TIFF support.

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

TIFF support.

George Herolyants-3
Hi everybody.

Though squeak.org says there is a TIFF files support in Squeak I can't
find any signs of it.
So, could someone point me to the actual TIFF files reading/writing
library for Squeak/Pharo?

Thanks.

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] TIFF support.

Marcus Denker-4

On Aug 17, 2010, at 8:09 PM, George Herolyants wrote:

> Hi everybody.
>
> Though squeak.org says there is a TIFF files support in Squeak I can't
> find any signs of it.
> So, could someone point me to the actual TIFF files reading/writing
> library for Squeak/Pharo?
>

http://www.smalltalkconsulting.com/html/TIFFsource.html

?

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] TIFF support.

Richard Durr-2
See also:
http://stackoverflow.com/questions/2500483/is-there-a-way-in-a-message-only-language-to-define-a-whiletrue-message-without-r

On Tue, Aug 17, 2010 at 8:48 PM, Marcus Denker <[hidden email]> wrote:

On Aug 17, 2010, at 8:09 PM, George Herolyants wrote:

> Hi everybody.
>
> Though squeak.org says there is a TIFF files support in Squeak I can't
> find any signs of it.
> So, could someone point me to the actual TIFF files reading/writing
> library for Squeak/Pharo?
>

http://www.smalltalkconsulting.com/html/TIFFsource.html

?

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.





Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] TIFF support.

Richard Durr-2
ups wrong window. sorry.

On Wed, Aug 18, 2010 at 4:43 PM, Richard Durr <[hidden email]> wrote:
See also:
http://stackoverflow.com/questions/2500483/is-there-a-way-in-a-message-only-language-to-define-a-whiletrue-message-without-r


On Tue, Aug 17, 2010 at 8:48 PM, Marcus Denker <[hidden email]> wrote:

On Aug 17, 2010, at 8:09 PM, George Herolyants wrote:

> Hi everybody.
>
> Though squeak.org says there is a TIFF files support in Squeak I can't
> find any signs of it.
> So, could someone point me to the actual TIFF files reading/writing
> library for Squeak/Pharo?
>

http://www.smalltalkconsulting.com/html/TIFFsource.html

?

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.






Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] TIFF support.

George Herolyants-3
In reply to this post by Marcus Denker-4
Thanks, Marcus.

I saw this page, but actually I expected to see a pure Smalltalk
solution or at least an integrated plugin. Especially considering what
official squeak site says about that (but why it is so? maybe tiff
support was there before and was removed for some reasons?).

It seems that the mentioned work of John M McIntosh is the only
implementation of TIFF support. So I tried to build the plugin on
linux. Results seem promising but I need help. The plugin works quite
fine, all tests pass except four of them. Failures are caused by
"isByteSwapped" which returns true on my linux machine, while I think
it supposed to return false on Mac (is it true?). And I think this is
somehow related to another bug I've faced. I mean colours mismatch,
which I failed to fix. I'll try to build the plugin on windows to see
if this behaviour is really platform related. But I would appreciate
any help.

The modified Smalltalk sources can be found at
http://www.squeaksource.com/gherolyants. See packages TIFF-Kernel,
TIFF-Tests and VMConstruction-Plugins-Tiff.
The modified C sources can be found at
http://github.com/gherolyants/tiff-plugin.


2010/8/17 Marcus Denker <[hidden email]>:

>
> On Aug 17, 2010, at 8:09 PM, George Herolyants wrote:
>
>> Hi everybody.
>>
>> Though squeak.org says there is a TIFF files support in Squeak I can't
>> find any signs of it.
>> So, could someone point me to the actual TIFF files reading/writing
>> library for Squeak/Pharo?
>>
>
> http://www.smalltalkconsulting.com/html/TIFFsource.html
>
> ?
>
> --
> Marcus Denker  -- http://www.marcusdenker.de
> INRIA Lille -- Nord Europe. Team RMoD.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] TIFF support.

Louis LaBrunda
Hi George,

>Snip...
>Failures are caused by
>"isByteSwapped" which returns true on my linux machine, while I think
>it supposed to return false on Mac (is it true?). And I think this is
>somehow related to another bug I've faced. I mean colours mismatch,
>which I failed to fix. I'll try to build the plugin on windows to see
>if this behaviour is really platform related. But I would appreciate
>any help.

This sounds like a big-endian vs. little-endian problem.  I think old
PowerPC Macs were big-endian and the new Intel Macs are little-endian.  The
method must be checking the OS or something like that and getting the
endian nature wrong.

Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:[hidden email] http://www.Keystone-Software.com