Xsane: color problems after preview zoom ?

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Sun Apr 02 2000 - 13:31:20 PDT

  • Next message: Randolph Bentson: "Re: xsane-0.58 available"

    Hi,

    if you have color problems after you (un)zoomed the preview,
    edit xsane-preview.c about line 1374 :

        if (fscanf(in, "P6\n# surface: %g %g %g %g %u %u\n%d %d\n255\n",

    and replace the last "\n" by a "%*[\n]":

    if (fscanf(in, "P6\n# surface: %g %g %g %g %u %u\n%d %d\n255%*[\n]",

    Then recompile and reinstall xsane!

    Bye
    Oliver

    --
    Homepage:       http://www.wolfsburg.de/~rauch
    sane-umax:      http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:          http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:         mailto:Oliver.Rauch@Wolfsburg.DE
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Mon Apr 03 2000 - 15:21:25 PDT