png2pnm.sh
上传用户:sesekoo
上传日期:2020-07-18
资源大小:21543k
文件大小:2k
源码类别:

界面编程

开发平台:

Visual C++

  1. #!/bin/sh
  2. # -- grayscale
  3. ./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm
  4. ./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm
  5. ./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm
  6. ./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm
  7. ./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm
  8. # -- full-color
  9. ./png2pnm -noraw ../pngsuite/basn2c08.png basn2c08.ppm
  10. ./png2pnm -noraw ../pngsuite/basn2c16.png basn2c16.ppm
  11. # -- palletted
  12. ./png2pnm -noraw ../pngsuite/basn3p01.png basn3p01.ppm
  13. ./png2pnm -noraw ../pngsuite/basn3p02.png basn3p02.ppm
  14. ./png2pnm -noraw ../pngsuite/basn3p04.png basn3p04.ppm
  15. ./png2pnm -noraw ../pngsuite/basn3p08.png basn3p08.ppm
  16. # -- gray with alpha-channel
  17. ./png2pnm -noraw ../pngsuite/basn4a08.png basn4a08.pgm
  18. ./png2pnm -noraw ../pngsuite/basn4a16.png basn4a16.pgm
  19. # -- color with alpha-channel
  20. ./png2pnm -noraw -alpha basn6a08.pgm ../pngsuite/basn6a08.png basn6a08.ppm
  21. ./png2pnm -noraw -alpha basn6a16.pgm ../pngsuite/basn6a16.png basn6a16.ppm
  22. # -- grayscale
  23. ./png2pnm -raw ../pngsuite/basn0g01.png rawn0g01.pgm
  24. ./png2pnm -raw ../pngsuite/basn0g02.png rawn0g02.pgm
  25. ./png2pnm -raw ../pngsuite/basn0g04.png rawn0g04.pgm
  26. ./png2pnm -raw ../pngsuite/basn0g08.png rawn0g08.pgm
  27. ./png2pnm -raw ../pngsuite/basn0g16.png rawn0g16.pgm
  28. # -- full-color
  29. ./png2pnm -raw ../pngsuite/basn2c08.png rawn2c08.ppm
  30. ./png2pnm -raw ../pngsuite/basn2c16.png rawn2c16.ppm
  31. # -- palletted
  32. ./png2pnm -raw ../pngsuite/basn3p01.png rawn3p01.ppm
  33. ./png2pnm -raw ../pngsuite/basn3p02.png rawn3p02.ppm
  34. ./png2pnm -raw ../pngsuite/basn3p04.png rawn3p04.ppm
  35. ./png2pnm -raw ../pngsuite/basn3p08.png rawn3p08.ppm
  36. # -- gray with alpha-channel
  37. ./png2pnm -raw ../pngsuite/basn4a08.png rawn4a08.pgm
  38. ./png2pnm -raw ../pngsuite/basn4a16.png rawn4a16.pgm
  39. # -- color with alpha-channel
  40. ./png2pnm -noraw -alpha rawn6a08.pgm ../pngsuite/basn6a08.png rawn6a08.ppm
  41. ./png2pnm -noraw -alpha rawn6a16.pgm ../pngsuite/basn6a16.png rawn6a16.ppm