sheldon brown says
The best way to do it is not pulling on the outer tubing, but pushing the big tubing off the small tubing, just pressing on the edge of the outer tube while pulling on the end of the inner tube. Now I knew I would be able to do it. I only needed some way to apply reasonably large force just on the top edge of the seat tube. I took two aluminum plates that just fitted nicely between the seat rail clamp plate and the top of the seat tube (one plate on one side of the seat post and the other on the opposite), with the seat rail clamp screws extended by a few turns. Then I gently turned the rail clamp screws in and the seat post just came out without any struggle
I did not apply any more force then, just slight finger pressure on the Allen key while turning the screws. I am sure that a similar method may be used on metal frames and seat posts or any combination of the material. You just need the right length of spacer blocks or some kind of screw attachment to do the pushing off the seat tube from the seat post.
i will have to think about that myself but whatever you do be careful a carbon bike frame can be damaged by even clamping it onto a bike repair stand you need to clamp the seat post as long as its not carbon..