| Copyright 1999 Element 14 Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
|     http://www.apache.org/licenses/LICENSE-2.0
|
|
| ************
| Global Setup
| ************
|

| make jobs:
| extract imageppm from pdf file document  => folder Imagesppm
| convert ppm files to sprites             => folder ImageSpr
| detox treatment for sprite files         => folder Detox

dir <Obey$Dir>
| Name of app being documented.
|Set AppName TypeTextList
set AppDir$dir <obey$dir>
|create directory for images
|Cdir Imagesppm
|Cdir ImagesSpr
|Cdir Detox
set Detox$dir <AppDir$dir>.Detox

WimpSlot -min 25600K
set image-root  <AppDir$dir>.Imagesppm

set compte$ 0

|set pdf$Document  "EQMM_1973_03/pdf"
|set pdf$Document  "FF_1985_2/pdf"
|set pdf$Document  "AST_1930_01/pdf"

|Echo ** extracting images from PDF file
|pdfimages -f 1  -l 15 <AppDir$dir>.<pdf$Document> Imagesppm/"pdf"
|Echo ** PDF extracted jobs done


|Echo ** converting ppm to sprite  to dir ImagesSpr
|set compte$ 0
|repeat  <AppDir$dir>.ppm2Sprites <AppDir$dir>.Imagesppm  ImagesSpr
|echo <compte$>
|Echo ** converting ppm to sprite jobs done

Echo ** 'detoxing'  sprite(s) in dir  Detox
|set compte$ 0
repeat  <AppDir$dir>.Sprites2detox <AppDir$dir>.ImagesSpr  <AppDir$dir>.detox
|echo <compte$>

Echo ** Batch files. <compte$> jobs done



back
