2010-10-05 6 views
3

Je cherche une bibliothèque graphique avec support CMJN (JPG ou TIF). Je dois lire un grand fichier d'image et un petit, puis écrire en second lieu le premier. La sortie doit également être CMJN (sans conversion CMJN-> RVB). Il y en a? (C#/C++/Java ou somthing autre)Les bibliothèques graphiques CMJN sont-elles?

Répondre

2

(Responsabilité, je travaille pour Atalasoft) Atalasoft dotImage lire et écrire des images en CMJN ainsi que d'effectuer des opérations de recouvrement dans l'espace CMJN.

le code que vous devez faire est:

public void OverlayCMYKOnCMYK(Stream bottomStm, Stream topStm, Point location, Steam outStm) 
{ 
    using (AtalaImage bottom = new AtalaImage(bottomStm, null), top = new AtalaImage(topStm, null)) { 
     // might want to check that both bottom and top have the same PixelFormat 
     // OverlayCommand will silently do conversions if they don't match.    
     OverlayCommand overlay = new OverlayCommand(top, location); 
     overlay.Apply(bottom); 
     bottom.Save(outStm, new TiffEncoder(), null); 
    } 
} 
+0

est-il une bibliothèque pour faire la couleur des polices CMJN avec la conversion en RVB en CMJN? – Media

Questions connexes