Search found 3 matches

by hectec
Mon, 2007-08-27, 20:00
Forum: DCMTK - General
Topic: Trouble creating sequences in a sequence
Replies: 3
Views: 5595

ok, sorry I misunderstood. I was thinking you call this after the loop. How do you write that file? Because maybe you're writing on a text mode based stream and therefore each single 0A becomes a 0D 0A sequence. You should try to call the m_fileformat->print(textoutputstream/e.g. COUT, ...) function...
by hectec
Fri, 2007-08-24, 11:42
Forum: DCMTK - General
Topic: Trouble creating sequences in a sequence
Replies: 3
Views: 5595

Are you sure that subItem[iPdFile] is valid? You have a loop over iPlugin at least overwriting the first valueset of the array. And if you don't loop again over iPdFile it has value 5 which is invalid. subItem[5] is in fact one of item or elementPDNum due to memory alignment (probably elementPDNum).
by hectec
Fri, 2007-08-24, 11:21
Forum: DCMTK - General
Topic: Help with pixel padding
Replies: 7
Views: 11235

There is a misunderstanding of PixelPadding.
The PixelPadding is the value which is used for pixel outside of the recorded area, e.g. to fill up a circular to a rectangular area.

In other words, pixel having the PixelPadding value should be drawn transparent or in background color.