Taylor Swift has opened up about her struggle to overcome an eating disorder in a new Netflix documentary about her life, Miss Americana.
The Blank Space singer said comments about her body, including one particular headline which described her as looking "pregnant", led her to stop eating at times.
She said she would "starve" herself if she saw a photograph where she thought her stomach was too big, leaving her feeling as if she might pass out during or after shows on her 1989 tour in 2014.
The 30-year-old told Variety magazine she's still uncomfortable talking about body image and food - but added that it's told really well by the director of her new Netflix documentary, which had its world premiere at the Sundance Film Festival this week.
Swift said: "I didn't know if I was going to feel comfortable with talking about body image and talking about the stuff I've gone through in terms of how unhealthy that's been for me - my relationship with food and all that over the years.
"But the way that Lana (Wilson, the film's director) tells the story, it really makes sense.
"I'm not as articulate as I should be about this topic because there are so many people who could talk about it in a better way. But all I know is my own experience.
"And my relationship with food was exactly the same psychology that I applied to everything else in my life: If I was given a pat on the head, I registered that as good. If I was given a punishment, I registered that as bad."
She added: "I remember how, when I was 18, that was the first time I was on the cover of a magazine.
"And the headline was like 'Pregnant at 18?' And it was because I had worn something that made my lower stomach look not flat. So I just registered that as a punishment.
"And then I'd walk into a photoshoot and be in the dressing room and somebody who worked at a magazine would say 'Oh, wow, this is so amazing that you can fit into the sample sizes.
"Usually we have to make alterations to the dresses, but we can take them right off the runway and put them on you!'
"And I looked at that as a pat on the head. You register that enough times, and you just start to accommodate everything towards praise and punishment, including your own body."
"I think I've never really wanted to talk about that before, and I'm pretty uncomfortable talking about it now.
"But in the context of every other thing that I was doing or not doing in my life, I think it makes sense (to have it in the film)."
The film features a voiceover from Swift, according to the magazine, in which she says: "It's not good for me to see pictures of myself every day."
She adds that "it's only happened a few times, and I'm not in any way proud of it", but there have been times in the past when she has seen "a picture of me where I feel like I looked like my tummy was too big, or someone said that I looked pregnant ... and that'll just trigger me to just starve a little bit - just stop eating".
The film uses then-and-now photos to illustrate just how much weight Swift lost while she was promoting her 2014 album 1989, compared with the tour for her Reputation album in 2018 as she says that under-eating severely affected her stamina on tour.
She says in the film: "I thought that I was supposed to feel like I was going to pass out at the end of a show, or in the middle of it.
"Now I realise, no, if you eat food, have energy, get stronger, you can do all these shows and not feel (enervated)."
She said she has now accepted the fact that she is "a size 6 instead of a size double-zero", and admitted she had a defence ready if anyone mentioned how thin she was in the past.
She said she would say: "'What are you talking about? Of course I eat ... I exercise a lot.' And I did exercise a lot. But I wasn't eating."
Taylor Swift: Miss Americana is streaming on Netflix from January 31.