Not sure about the specific crop size. But I know how to specify output size on the photoshop. Choose crop from the tool bar. At the width/height, put "1024 px" and "768 px". Then go to the picture and select. The box aspect ratio would be fixed. Whatever you choose, the output size of the picture will be scaled/compressed to 1024x768.