1. A method, performed in an electronic device, for resizing an image having text, the method comprising: determining, by a processor in the electronic device, layout information of at least one text region in the image, wherein the layout information comprises a determined quantitative value indicating the number of text regions in the image; selecting at least one operation from the group consisting of a seam carving operation, a cropping operation, and a scaling operation for the image based on the layout information, a size of the image, and a target image size; and performing the selected at least one operation to resize the image to the target image size based on at least one of the layout information, the size of the image, or the target image size, wherein the resized image comprises the text regions.