This thesis focuses on generating synthetic medical images using two machine learningmethods: diffusion models and GANs, specifically applied to X-ray fracture images. Theperformance of these generative models is evaluated using standard evaluation metrics,and the synthetic images, alongside real images, are also used in a classification task. Theresults show that the diffusion model outperforms StyleGAN3 in generating synthetic images.In the classification task, based on the statistical test and the evaluation results, theclassifier trained on real images outperforms those trained on the synthetic images. Additionally,based on the correlation coefficient values, diffusion models tend to memorizetraining data, which may contribute to their superior performance in image generation.There are several approaches to reduce memorization. One method involves using augmentedimages instead of the original training data as input to the generative models.Another approach is to include a memorization penalty in the loss function. However, addressingthese strategies is beyond the scope of this thesis. For future work, it would bevaluable to explore different proportions of real and generated images for classifying AFFand NFF, and to evaluate the classification performance.