A portable textile treatment device (1, 1a, 1b, 1c, 1d, 1e, 1f, 1g, 1h) comprising: - a heatable soleplate intended to be in contact with a textile for treating the textile; - a steam engine (9, 10) for generating steam to be supplied to the textile; - an image sensor (5, 5b, 5c, 5d, 5e) for taking an image of the textile to be treated; - a control unit configured for: a) executing an algorithm stored in said portable textile treatment device, using the taken image as an input of said algorithm, to obtain a classification of the textile, wherein said classification is a fabric level of delicateness for treating the textile, said fabric level of delicateness classifying the textile as delicate or tough; and b) controlling, based on said classification, at least one operating parameter of the portable textile treatment device, wherein the image sensor and the control unit are integrated within the portable textile treatment device, wherein the at least one operating parameter comprises a temperature of the heatable soleplate and an amount of steam applied on the textile by the steam engine, wherein the temperature of the heatable soleplate is set in the range 100-180 degrees Celsius if the fabric level of delicateness is classified as delicate, and in the range 181-220 degrees Celsius if the fabric level of delicateness is classified as tough; and wherein the amount of steam is set in the range 50-99 g/minute if the fabric level of delicateness is classified as delicate, and set in the range 100-160 g/minute if the fabric level of delicateness is classified as tough. - a heatable soleplate intended to be in contact with a textile for treating the textile; - a steam engine (9, 10) for generating steam to be supplied to the textile; - an image sensor (5, 5b, 5c, 5d, 5e) for taking an image of the textile to be treated; - a control unit configured for: a) executing an algorithm stored in said portable textile treatment device, using the taken image as an input of said algorithm, to obtain a classification of the textile, wherein said classification is a fabric level of delicateness for treating the textile, said fabric level of delicateness classifying the textile as delicate or tough; and b) controlling, based on said classification, at least one operating parameter of the portable textile treatment device, wherein the image sensor and the control unit are integrated within the portable textile treatment device, wherein the at least one operating parameter comprises a temperature of the heatable soleplate and an amount of steam applied on the textile by the steam engine, wherein the temperature of the heatable soleplate is set in the range 100-180 degrees Celsius if the fabric level of delicateness is classified as delicate, and in the range 181-220 degrees Celsius if the fabric level of delicateness is classified as tough; and wherein the amount of steam is set in the range 50-99 g/minute if the fabric level of delicateness is classified as delicate, and set in the range 100-160 g/minute if the fabric level of delicateness is classified as tough. a) executing an algorithm stored in said portable textile treatment device, using the taken image as an input of said algorithm, to obtain a classification of the textile, wherein said classification is a fabric level of delicateness for treating the textile, said fabric level of delicateness classifying the textile as delicate or tough; and b) controlling, based on said classification, at least one operating parameter of the portable textile treatment device,