Is the grammar correct here?
"After drying the flowers, they were composed in different layouts and photographed. The photographs were later edited and elements were extracted to be used as motifs for the prints. "

Ishani GuptaIs the grammar correct here?

It isn't perfect. "After drying the flowers" is a dangling participial phrase. Introductory phrases attach to the subject of the sentence. That means that the flowers dried the flowers. But this is not a bad one, and many people would not even notice it. It is kind of nitpicking on my part to mention it, but do you want nits in your sentences? No. There is an easy fix: "After the flowers had been dried, they …."

Also, there is a comma missing after "edited".