guhungry / react-native-photo-manipulator

React Native Image Processing API to edit photo programmatically for Android and iOS. It features print text, overlay on another image (add watermark), resize, crop, flip, rotate and optimize image size then convert file format to jpeg or png
MIT License
339 stars 39 forks source link

large text #961

Open ahmedhango opened 2 hours ago

ahmedhango commented 2 hours ago

Hello, When I type text with a large font, the text goes outside the image, whether it's left-to-right (LTR) or right-to-left (RTL). How can I manage the text so that, if it's too big, it doesn't go to the next line? Also, how can I center the text?

Screenshot 2024-10-26 at 1 57 58 PM
guhungry commented 2 hours ago

This feature is not implemented yet. So it has to be estimated on react native side and send scaled values or added line break then send to library