Ignore:
Timestamp:
Aug 8, 2008, 8:07:10 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Handle alpha layer in floodfill (but don't make it conditionnal to the algorithm)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/floodfill.c

    r2676 r2678  
    3131    newimg = pipi_copy(img);
    3232    pipi_free(img);
    33     ret = pipi_flood_fill(newimg, atoi(argv[2]), atoi(argv[3]), 1, 0, 0);
     33    ret = pipi_flood_fill(newimg, atoi(argv[2]), atoi(argv[3]), 1, 0, 0, 1);
    3434
    3535    if(!ret) pipi_save(newimg, dstname);
Note: See TracChangeset for help on using the changeset viewer.