convert pdf page to image
@Sweety_Girl
Hello Kindly use export pdf as image activity
Yes I am using this same activity, but sometimes it throws âA generic error occurred in GDI+.â Error
Hello @Sweety_Girl
check if your path for saving image is correctâŚMake sure its in this format Filepath\Imagename.png (or other extension of image)
I am using bmp format
Hello @Sweety_Girl
then its format should be Filepath\ImageName.bmp
Hi
Iâm this error is because of invalid folder and FilePath
Kindly mention like this in OutpitFileName property
âYourfolderpath\â+âYourfilenameâ+â.pngâ
Or
âYourfolderpath\â+âYourfilenameâ+â.bmpâ
As The file name used in the OutputFileName property must end in a valid image extension. The supported extensions are .png
, .jpeg
, .tiff
, .bmp
, and .gif
.
Cheers @Sweety_Girl
Every time while processing, the same file is replaced with other⌠So I tried to delete after processing the image, but when I delete it throws an error âFile is being used by anotherâ. I am confused which application should I kill to avoid this error
It must be pdf file
So use ProcessName as âAcroRD32â in Kill Process
Cheers @Sweety_Girl
No, That issue is with the image
Because I get that âfile is used by another processâ error while deleting the image
Hello @Sweety_Girl
Try giving it a little delay of 3000 Miliseconds and check whether its working or not
You will get the above mentioned error : A generic error occurred in GDI+ . This problem occurs because until the bitmap object is disposed, it creates a lock on the underlying image file. ⌠dispose the object of old bitmap, process new bitmap object and save the new bitmap object with original file name
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.