South Korean photographer released from prison