Page 1 of 1

Rotate +90° makes LZW-gray from G4-BW

Posted: Thu Feb 16, 2012 4:41 pm
by Peter2
I have TIF, BW, Group 4. I try to rotate them 90°, here is my XBS:

Code: Select all

  <?xml version="1.0" encoding="UTF-8" ?> 
- <XnView_script version="1.0" name="TIFF_rot_90">
  <Rotate angle="90" smooth="false" color="#ffffff" /> 
- <Output folder="" filename="{Filename}_90_rot" case="0" format="TIFF">
  <Options overwrite="0" orgDate="false" keepMeta="false" keepICC="false" keepFolder="false" delOrg="false" multipage="false" allPages="true" openExplorer="false" /> 
  <TIFF compress="2" compressBW="6" oneStrip="false" /> 
  </Output>
  </XnView_script>
Is it rotated fine, but the resulting files are "Gray / LZW" - no matter if I select "Output = TIF" or "Output = same as input".

When I set "change color to BW" then it is OK

Code: Select all

<Change_color_depth method="0" dither="5" ncompo="-1" alpha="255"/>
Bug or feature?

Peter

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Fri Feb 17, 2012 3:30 am
by XnTriq
FYI: There's a similar discussion about how rotation changes the bit depth from 1bit to 8bit in XnView v1.9.

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Fri Feb 17, 2012 10:52 am
by Peter2
XnTriq wrote:FYI: There's a similar discussion about how rotation changes the bit depth from 1bit to 8bit in XnView v1.9.
Thanks. The result is:
Option "Smooth / Antialiasing must be selected.
Right?

Peter

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Sat Feb 18, 2012 12:30 am
by XnTriq
This works in XnView v1.9, but not in XnConvert v1.1 :?

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Mon Feb 20, 2012 8:58 am
by Peter2
XnTriq wrote:This works in XnView v1.9, but not in XnConvert v1.1 :?
For me it works fine.

Input: TIF, BW, Group 4
Output without "Smooth": TIF LZW, Gray
Output with "Smooth": TIF G4 BW

Peter

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Mon Feb 20, 2012 12:44 pm
by xnview
It's the inverse :) and must not smooth if -90/90°

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Mon Feb 20, 2012 2:13 pm
by Peter2
xnview wrote:It's the inverse :) and must not smooth if -90/90°
:?: :?: :?:

Peter

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Tue Feb 21, 2012 10:39 am
by xnview
Input: TIF, BW, Group 4
Output without "Smooth": TIF BW
Output with "Smooth", rotate -90,90,180: TIF BW
Output with "Smooth", rotate other angle: TIF Grey

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Tue Feb 21, 2012 10:43 am
by Peter2
:!:

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Thu Apr 19, 2012 9:11 am
by xnview
Please check XnViewMP 0.48

Re: Rotate +90° makes LZW-gray from G4-BW

Posted: Thu Apr 19, 2012 2:57 pm
by Peter2
xnview wrote:Please check XnViewMP 0.48
I tested it with TIF G4,
- set only "Rotation +90°" and
- did not set color or Smooth or something else

- and converted get rotated G4 files.

Seem to work fine.

Peter