Search found 14 matches

by johnbasi
2018-02-14T21:09:07-07:00
Forum: Users
Topic: Command that will work on images that has Clipping path and is Transparent
Replies: 1
Views: 1366

Command that will work on images that has Clipping path and is Transparent

Hi guys, Is there a command that works for both images that has Clipping path and Transparent images? I want to convert them to JPG file and make the background white. This are the commands that I am using on each but would like to make a single command that works for both of them. TRANSPARENT COMMA...
by johnbasi
2018-02-14T03:10:15-07:00
Forum: Users
Topic: -flatten won't work on PSD?
Replies: 2
Views: 1283

Re: -flatten won't work on PSD?

Hi, thank you for your response but my colleague have found a solution on this issue. I have another question though, is it possible to have conditional statement in a single command? I.e. if the INPUT file has Clipping path Then Run Clipping path command else Run default command Version: ImageMagic...
by johnbasi
2018-02-11T23:49:23-07:00
Forum: Users
Topic: -flatten won't work on PSD?
Replies: 2
Views: 1283

-flatten won't work on PSD?

Hi guys, I have PSD files with different backgrounds and will convert them to PSD without background or white. That part is covered but I noticed that after the convertion the resulting file is twice or thrice the size of the original PSD. I tried using -flatten in the command but to no avail. Is th...
by johnbasi
2017-12-20T23:46:45-07:00
Forum: Magick.NET
Topic: Convert IM command to Magick.NET
Replies: 1
Views: 5100

Convert IM command to Magick.NET

Hi, I have an IM command and I need it to be translated to Magick.net and replace the background to transparent. Here is the command: convert.exe test.psd[0] -alpha transparent -clip -alpha opaque -background white -flatten -resize 1000x1000 result.psd I've tried this code below but it doesn't seem ...
by johnbasi
2017-12-13T00:44:35-07:00
Forum: Users
Topic: Extract image from PSD file
Replies: 7
Views: 3491

Re: Extract image from PSD file

Yes, I saw the output and it extracted the alpha channel but what I want is to extract the main image using that alpha channel. I have added a link for the desired output. I was able to do it in PS but I want IM since there are lots of images to process. https://www.dropbox.com/s/lnbuqlw504j0fbt/44-...
by johnbasi
2017-12-13T00:34:26-07:00
Forum: Users
Topic: Extract image from PSD file
Replies: 7
Views: 3491

Re: Extract image from PSD file

Hi, thanks for your quick response. The "blue" background is just one of the images and there are lots of other images with different backgrounds. Is there any way not to specify the image color to be replaced? I got this error on my end when running the command: convert: profile 'icc': 'RGB ': RGB ...
by johnbasi
2017-12-12T23:55:58-07:00
Forum: Users
Topic: Extract image from PSD file
Replies: 7
Views: 3491

Re: Extract image from PSD file

I am asking a different question. I want to extract the image out of the file. I have steps on how to do it in Photoshop but I want to convert it to IM command. I am new to IM so I don't have an idea how to make those commands. Here is the steps on PS: 1. Select channel(Alpha 1) 2. Set Selection 3. ...
by johnbasi
2017-12-12T22:10:53-07:00
Forum: Users
Topic: Extract image from PSD file
Replies: 7
Views: 3491

Extract image from PSD file

Hi, sorry for asking this question but I'm a newbie on IM. I have images with different backgrounds and I want to extract the image out and create a new file. Please take note that the images has alpha channels. Here is the file: https://www.dropbox.com/s/hoj6pwvnomlehlh/44-2868_11.psd?dl=0 IM versi...
by johnbasi
2017-12-10T23:39:45-07:00
Forum: Developers
Topic: Convert PSD files with alpha channel to transparent background
Replies: 11
Views: 11433

Re: Convert PSD files with alpha channel to transparent background

In your "gray background" image, the foreground and background almost merge together towards the top-left. Separation is possible (find the slope magnitude; threshold at 1%; remove noise)
Maybe this is possible. Do you have a script or command for this Separation thingy?
by johnbasi
2017-12-10T23:09:17-07:00
Forum: Developers
Topic: Convert PSD files with alpha channel to transparent background
Replies: 11
Views: 11433

Re: Convert PSD files with alpha channel to transparent background

Yes, it would be easier if the images has transparent backgrounds and that's what I'm trying to achieve. This is a really tricky task and I've spent so much time on this already. :( Anyways, thanks for the help. But I need the images to work independently from each other. You solution works great bu...
by johnbasi
2017-12-10T22:33:04-07:00
Forum: Developers
Topic: Convert PSD files with alpha channel to transparent background
Replies: 11
Views: 11433

Re: Convert PSD files with alpha channel to transparent background

@snibgo, you're correct. I need to extract the object and make the background blank(or white) when converting the file. Your 1st command works great and it removes the background when converting to PSD file. But I noticed that you combined the two PSD files. When I try to use the same file using con...
by johnbasi
2017-12-10T21:49:21-07:00
Forum: Developers
Topic: Convert PSD files with alpha channel to transparent background
Replies: 11
Views: 11433

Re: Convert PSD files with alpha channel to transparent background

There would be lots of psd files with different backgound on it. Is their a way to make it work on all of them?
I am very sorry. I am new to this and I don't have background on PS either.
by johnbasi
2017-12-10T19:20:59-07:00
Forum: Developers
Topic: Convert PSD files with alpha channel to transparent background
Replies: 11
Views: 11433

Re: Convert PSD files with alpha channel to transparent background

Sorry about the link. Please try the new ones below. https://www.dropbox.com/s/hoj6pwvnomlehlh/44-2868_11.psd?dl=0 https://www.dropbox.com/s/ms8vaficqed7onw/44-2868_10.psd?dl=0 Sorry about that command I just copy and pasted it without changing the output. But I really want it to remove the backgrou...
by johnbasi
2017-12-08T03:19:31-07:00
Forum: Developers
Topic: Convert PSD files with alpha channel to transparent background
Replies: 11
Views: 11433

Convert PSD files with alpha channel to transparent background

Hi, I'm sorry for asking this question but I am very new to IM. I have these PSD files(a lot of them) with Alpha channels and I want them to be converted into PSD files again but with transparent or white background. How can I come up with this? I tried this command provided by the company but it is...