Color in Grayscale file
Color in Grayscale file
Dear Loic,
I develloped an application to read TIF files (textile designs) identify all the spot colors of the design and change them one by one according to new color selected on a specific palette or Textile Pantone. The design is flatted in this case.
Now I have to do the same job on Textile designs that are issued from Photoshop in multi channels. That means that each color of the design has its own channels
(Example : Design with 3 colors.
First Color = First Channel = Spot color - Black
Second Color = Second Channel = Spot color - Red
Third Color = Third Channel = Grayscale - Brown
Is it possible with GDPicture to change the color of the third color (third channel - brown) from Brown to Blue for example maintaining the graysacle effect and then show all the channels (2 spot channels + 1 grayscale channel) together in GDPicture View as the result of the superposition?
I am annexing 2 zips : 1 - Original PSD file with all the channels together ; 2 - the 3 Separated Channels in PSD format
Best Regards
Christian
I develloped an application to read TIF files (textile designs) identify all the spot colors of the design and change them one by one according to new color selected on a specific palette or Textile Pantone. The design is flatted in this case.
Now I have to do the same job on Textile designs that are issued from Photoshop in multi channels. That means that each color of the design has its own channels
(Example : Design with 3 colors.
First Color = First Channel = Spot color - Black
Second Color = Second Channel = Spot color - Red
Third Color = Third Channel = Grayscale - Brown
Is it possible with GDPicture to change the color of the third color (third channel - brown) from Brown to Blue for example maintaining the graysacle effect and then show all the channels (2 spot channels + 1 grayscale channel) together in GDPicture View as the result of the superposition?
I am annexing 2 zips : 1 - Original PSD file with all the channels together ; 2 - the 3 Separated Channels in PSD format
Best Regards
Christian
- Attachments
-
- TesteX_SeparatedChannels.rar
- (375.32 KiB) Downloaded 341 times
-
- TesteX_OriginalPSD_ChannelsTogether.rar
- (366.1 KiB) Downloaded 341 times
Re: Color in Grayscale file
Dear Loic,
I found a command line application PSDPARSE (from Telegraphics) to generate separated files (.PNG) from the Photoshop PSD file witout loosing quality. I am anexig the 3 PNG files.
Best Regards
Christian
I found a command line application PSDPARSE (from Telegraphics) to generate separated files (.PNG) from the Photoshop PSD file witout loosing quality. I am anexig the 3 PNG files.
Best Regards
Christian
Important
It is remarkable, it is the amusing information
Re: Color in Grayscale file
I succeed to overlap/merge 3 files with the code (in Windev) :
Camada1 = ocxGdPicImgCamadasCombinadas>>CreateImageFromFile("F:\Temp\PSD\testexxx_png\testeExportadoC1.png")
largura1 = ocxGdPicImgCamadasCombinadas>>GetWidth()
Altura1 = ocxGdPicImgCamadasCombinadas>>GetHeight()
Camada2 = ocxGdPicImgCamadasCombinadas>>CreateImageFromFile("F:\Temp\PSD\testexxx_png\testeExportadoC2.png")
largura2 = ocxGdPicImgCamadasCombinadas>>GetWidth()
Altura2 = ocxGdPicImgCamadasCombinadas>>GetHeight()
Camada3 = ocxGdPicImgCamadasCombinadas>>CreateImageFromFile("F:\Temp\PSD\testexxx_png\testeExportadoC3.png")
largura3 = ocxGdPicImgCamadasCombinadas>>GetWidth()
Altura3 = ocxGdPicImgCamadasCombinadas>>GetHeight()
ocxGdPicImgCamadasCombinadas>>SetNativeImage(Camada1)
ocxGdPicImgCamadasCombinadas>>DrawImageTransparencyColor(Camada2, White, 0, 0, largura2, Altura2)
ocxGdPicImgCamadasCombinadas>>DrawImageTransparencyColor(Camada3, White, 0, 0, largura3, Altura3)
ocxGdPicImgCamadasCombinadas>>SaveAsPNG("F:\Temp\PSD\testexxx_png\Combiandos2.png")
This only works with small size files. Whwn the files are bigger - which is my specific case 9123 pixels x 9781 pixels and 24 bitspp - the Overlap/Merge failed completely.
Is there any memory limitation for GDPicture ToolKit Pro edition (V5) - this is yhe version I actually working with -
In a newer version there is no limitation ?
I am anexing the 3 bigger files
Thanks
Camada1 = ocxGdPicImgCamadasCombinadas>>CreateImageFromFile("F:\Temp\PSD\testexxx_png\testeExportadoC1.png")
largura1 = ocxGdPicImgCamadasCombinadas>>GetWidth()
Altura1 = ocxGdPicImgCamadasCombinadas>>GetHeight()
Camada2 = ocxGdPicImgCamadasCombinadas>>CreateImageFromFile("F:\Temp\PSD\testexxx_png\testeExportadoC2.png")
largura2 = ocxGdPicImgCamadasCombinadas>>GetWidth()
Altura2 = ocxGdPicImgCamadasCombinadas>>GetHeight()
Camada3 = ocxGdPicImgCamadasCombinadas>>CreateImageFromFile("F:\Temp\PSD\testexxx_png\testeExportadoC3.png")
largura3 = ocxGdPicImgCamadasCombinadas>>GetWidth()
Altura3 = ocxGdPicImgCamadasCombinadas>>GetHeight()
ocxGdPicImgCamadasCombinadas>>SetNativeImage(Camada1)
ocxGdPicImgCamadasCombinadas>>DrawImageTransparencyColor(Camada2, White, 0, 0, largura2, Altura2)
ocxGdPicImgCamadasCombinadas>>DrawImageTransparencyColor(Camada3, White, 0, 0, largura3, Altura3)
ocxGdPicImgCamadasCombinadas>>SaveAsPNG("F:\Temp\PSD\testexxx_png\Combiandos2.png")
This only works with small size files. Whwn the files are bigger - which is my specific case 9123 pixels x 9781 pixels and 24 bitspp - the Overlap/Merge failed completely.
Is there any memory limitation for GDPicture ToolKit Pro edition (V5) - this is yhe version I actually working with -
In a newer version there is no limitation ?
I am anexing the 3 bigger files
Thanks
Re: Color in Grayscale file
Sorry,
The files were too big to be anexed
The files were too big to be anexed
Who is online
Users browsing this forum: No registered users and 1 guest