DMXzone Image Processor Support Product Page

Solved

uploaded jpg image doesn't change to png format

Reported 13 Dec 2017 15:15:37
1
has this problem
13 Dec 2017 15:15:37 MX Addict posted:
I upload images with *.jpg extension and like to save as *.png. But uploaded *.jpg files still has *.jpg extension after uploading.

save image properties:

Image: image1
Format: PNG
Path: /images
Template: {name}{ext}

overwrite: checked

Replies

Replied 13 Dec 2017 15:24:42
13 Dec 2017 15:24:42 Teodor Kuduschiev replied:
Hello,
What version of the image processor are you using (PHP, ASP, ASP.NET)?
What are the steps in your action file?
Replied 13 Dec 2017 15:33:43
13 Dec 2017 15:33:43 MX Addict replied:
Action file steps



IIS, Classic ASP, ASP.NET

With Smart Image Processor ASP 2 never had problems with this.
Replied 13 Dec 2017 15:35:26
13 Dec 2017 15:35:26 Teodor Kuduschiev replied:
So what exactly are you using ASP or ASP.NET? On your screenshot it says ASP and your post it says: Classic ASP, ASP.NET?
Replied 13 Dec 2017 15:46:11
13 Dec 2017 15:46:11 MX Addict replied:
I use classic ASP
Replied 13 Dec 2017 16:05:38
13 Dec 2017 16:05:38 MX Addict replied:
Just create test page with ASP Upload 3.1.3 and SIP 2.5.7 Upload works fine. *.jpg file is uploaded and changed to *.png extension


When change save image properties in Server connect:

Image: image1
Format: AUTO
Quality: 75
Path: /images
Template: {name}{ext}
overwrite: checked

And upload a file get a 500 error:

log file
2017-12-13 16:05:01 127.0.0.1 POST /dmxConnect/api/uploader/uploader.asp - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/58.0.3029.110+Safari/537.36+Edge/16.16299 www.contoso.nl/uploader.asp 500 0 0 1945

Replied 13 Dec 2017 16:07:38
13 Dec 2017 16:07:38 Teodor Kuduschiev replied:
ASP Upload 3 and Smart Image Processor have nothing to do with the server connect tools, they are totally different so there is nothing to compare here ...

I am checking the issue with the developers.
Replied 13 Dec 2017 16:10:04
13 Dec 2017 16:10:04 MX Addict replied:
I know. But I want to check if SIP change *.jpg to *.png
Replied 13 Dec 2017 17:01:41
13 Dec 2017 17:01:41 Teodor Kuduschiev replied:
Please use: {name}.png as a rename template.
Replied 14 Dec 2017 08:00:26
14 Dec 2017 08:00:26 MX Addict replied:
Hi Teodor,

Is this a workaround?

When change rename template a you suggest it also uploads the original *.jpg file even when overwrite is checked.

Now I get 2 files uploaded (*.jpg and *.png) instead of 1 file which has to change from *.jpg to *.png
Replied 14 Dec 2017 09:07:13
14 Dec 2017 09:07:13 Teodor Kuduschiev replied:
No, it is not a workaround that is how the image processor works.
When the file is saved, it will overwrite a file with the same name (name.png) and (name.jpg) is a different file ...
Replied 14 Dec 2017 09:12:15
14 Dec 2017 09:12:15 Teodor Kuduschiev replied:
What you are trying to achieve could easily be done with the help of file system connector.
Just upload your images to a separate upload folder, then process them and save them to the desired location, after that just use the file remove step and remove the originally uploaded jpg.
Replied 14 Dec 2017 09:46:22
14 Dec 2017 09:46:22 MX Addict replied:
hi Teodor,

Quote
No, it is not a workaround that is how the image processor works.
When the file is saved, it will overwrite a file with the same name (name.png) and (name.jpg) is a different file ...


Why does this works fine on the older extension SIP. I know they are different but you create this image processor with the same features as SIP has???

Filetype png
uploaded *.jpg file is saved as *.png file and there is NO original *.jpg file uploaded.


Back to Server Connect
Can you tell me what is the purpose Format (auto, JPEG, PNG, GIF) of save properties??

Thats why I thought you rename {ext} change to *.png is a workaround?


Reply to this topic