A method of patterning a flexible foil, using a system for patterning flexible foils, said system for patterning flexible foils comprising a table for compensating deformation in said foil, said table comprising a supportive base and a deformation compensation system, said deformation compensation system comprising a plurality of movable elements supported by the base, wherein said movable elements form a surface for supporting the flexible foils, said movable elements further comprising magnetic clamps for clamping the foil, the method comprising the steps of:
- providing a system for patterning flexible foils;
- providing a foil comprising a magnetic portion for clamping the foil magnetically;
- clamping the foil to the movable elements by said magnetic clamps;
- individually moving the movable elements parallel to the foil, so as to stretch the foil into a predefined shape;
- and
- patterning the foil above the table.