Hi,

On Mon, 2009-09-14 at 08:25 -0500, Carsten Neumann wrote:
>       Hello Gerrit,
> 
> Gerrit Voß wrote:
> > I'm cleaning a little bit and stumbled across the fact that a
> > lot of the image fields are signed (e.g. width, height, bpp).
> > As far as I can tell unsigned should be ok too, as none of
> > them uses for example -1 to signal something. 
> > 
> > So the question, does anybody see a problem to switch them to
> > UInt32 ?
> 
> what about 1.x OSB files? I guess they may just continue working since 
> Int32 and UInt32 are similar enough?
> 

they should, both read the same amount of bytes so the stream should
stay in sync and I don't expect negative values for any of the
parameters. At least I haven't seen anything in the code that 
would expect them. The only occurrence of negative values is for some
function parameters where -1 just means work on the whole image as
stored. But never for anything that is stored inside the image.

kind regards
  gerrit



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to