For example a Greek deity. Would printing an image of one count as making an image of an idol, even if it's not meant for worship? For example if it's printed for an article.
Greek deities are out of worship from a long time.
Additionally to make a non relief image is not really a reproduction and is obviously not made for worship.
See SA YD 146, 10:
הניחוה עובדיה והלכו להם בשעת שלום מותרת בשעת מלחמה אסורה והוא שאינם יכולים לחזור לה אבל אם היו יכולים לחזור לה ולא חזרו מותרת:
If idolaters abandoned it in time of peace it is allowed for profit.
A fortiori it's allowed to photograph it and to print it