1. A method, performed in an electronic device, for resizing an image having text, comprising: determining layout information of at least one text region in the image, wherein the layout information includes at least one of a number, a size, a location, a shape, or a text density of the at least one text region in the image; selecting at least one operation among 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 operation to resize the image to the target image size based at least on one of the layout information, the size of the image, or the target image size, wherein the resized image includes the at least one text region.