Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: merging four c,m,y,k single band tiff into one cmyk tiff

Started 1 month, 1 week ago by mr_empty
hi all, i 'm new in java2d and now i want to combine four colorspace c,m,y,k tiff file into one cmyk tiff file. I used bandmerge operator to create and save the image. but the image cannot be viewed by fax viewer and it appears to be white in photoshop. here is my code: String[] args={"f:\\tiff\\c.tif","f:\\tiff\\m.tif","f:\\tif f\\y.tif","f:\\tiff\\k.tif"}; PlanarImage[] inputs = new ...
Site: Sun Forums  Sun Forums - site profile
Forum: Java 2D   Java 2D
 - forum profile
Total authors: 82 authors
Total thread posts: 11 posts
Thread activity: 1 new post during last week
Domain info for: sun.com

Other posts in this thread:

kevinaworkman replied 3 months, 1 week ago
Adi1000 wrote: Can someone help me with multithreading here ? You might want to ask a more specific question than that. Where exactly are you stuck? What exactly don't you understand? Check out java's concurrency tutorial for help with general multithreading.

Encephalopathic replied 3 months, 1 week ago
Adi1000 wrote: Can someone help me with multithreading here ? Agree that this request is a bit overly general. In addition to the tutorial noted above, please have a look at this Swing-specific tutorial on Concurrency in Swing. Also a quick peek at your code suggests that 1) you are trying to create and start a new Thread from within the paintComponent method. Please don't do ...

Swordwrathe replied 3 months, 1 week ago
This code is starting a thread with an empty run method : package game; public class Main { public static void main(String[] args) { new Thread( new GameEngine()).start(); } } -> GameEngine.java public void run() { } The singleton pattern used in GameEngine needs reworking (The constructor is not private), and ...

thirdfront replied 3 months, 1 week ago
I need to know how to convert a black and white image into a matrix form. I have loaded a file using BuffredImage class. But dont know how to get the matrix form.. Somebody help me out with the code please.........

Encephalopathic replied 3 months, 1 week ago
Have you looked at the BufferedImage API? If not, you may find some methods there that can help.

SamVdS replied 3 months, 1 week ago
I'm not quite sure that my question is appropiate for this subforum but I don't really know where to post it. I'm trying to write a small game (in which you destroy blocks with a ball on the top of the window). I first wrote a piece of the program (in which you move the bar to catch the ball at the bottom of the window) without a background and that went rather smoothly. But when I painted ...

DarrylBurke replied 3 months, 1 week ago
Learn to do custom painting the correct way: http://java.sun.com/docs/books/tutorial/uiswing/pa inting/index.html And don't use getGraphics() for a component. db

SamVdS replied 3 months, 1 week ago
Okay, thank you very much, I'll read the tutorial and hope I can solve my problem with it...

Difu replied 3 months, 1 week ago
Hello all: I got something strange when turning on the OpenGL pipeline for Java2D on a 64-bit Vista Biz(sp2) with a dual-monitor (extend desktop) configuration. (jvm6u16 64bit, nvidia 8600gt, driver version:190.60) Even the simplest swing app shows just a transparent window at the very beginning. When I tries to resize it, it got successfully repainted ONLY on the second monitor. ...

ChunYin replied 3 months, 1 week ago
Hi everyone, I am writing a OCR programme with Java. However, I am facing a problem about image processing. This part is the database creation. Suppose all data can be gotten by the get method with a fixed processing time. Here is the sample coding of my programme. int numberOfLine = getLineMethod(); ArrayList<CharInfo> arrList = new ArrayList<CharInfo>(); for( int i = 0 ; i < ...

 

Top contributing authors

Name
Posts
DarrylBurke
26
user's latest post:
need help displaying shapes...
Published (2009-11-30 19:11:00)
To try to code graphics without doing this is about as useful as groping about in the dark. But groping about in the dark is so much fun ;-) ;-) Oh wait, we're talking about programming here :( db
Maxideon
26
user's latest post:
repainting correctly without...
Published (2009-11-30 09:39:00)
That black part is part of your image. The condition for using the code in my reply above was that the image has an alpha channel. Your image has no alpha channel . Use one of either TYPE_INT_ARGB, TYPE_4BYTE_ABGR, TYPE_INT_ARGB_PRE, TYPE_4BYTE_ABGR_PRE, or GraphicsConfiguration#createCompatibleImage(int width, int height, Transparency.BITMASK)
kevinaworkman
20
user's latest post:
graphics2d 4 drawings for four...
Published (2009-12-04 09:05:00)
Lil_chidya wrote: now nothing appears when i click the jButton1 And when do you actually call that method? Without the SSCCE we asked for, I can't help you any more.
DoraiRaj
16
user's latest post:
EXCEPTION_ACCESS_VIOLATION when...
Published (2009-11-17 00:46:00)
The follwing url may helps to u http://www.java-forums.org/eclipse/312-exception_access_violation-0xc0000005.html
gimbal2
13
user's latest post:
How do I overlay n number of...
Published (2009-12-03 01:19:00)
Create a new BufferedImage with the dimensions of all the images you want combined, then paint all the images into it through the Graphics object you can obtain from the BufferedImage. Then write out the image using the ImageIO class.
AndrewThompson64
12
user's latest post:
Load images without flickering
Published (2009-12-03 23:03:00)
Raja.Sivagurunathan wrote: ..Here is my code snippet. How do you know the problem is in the snippet? Maybe it is some other part of the code you did not post. Either way, I do not have time to pore over code snippets, in the hope they are the right parts of the code, looking for solutions. ... Please help me to solve this problem. I will look further into the code if you post an SSCCE (&lt;- link). Note that if you reply to me and post...
tjacobs01
12
user's latest post:
Cut polygon from image
Published (2009-12-04 10:53:00)
milantomic123 wrote: I have just used wikipedia to see what the hell now "rhetorical" means and I can say only: no, no, no, it is not rhetorical, please answer my post! :) I already gave you the answer, but since it seems you have no interest in reading / pursuing my /our advice, I can only assume that all of this is just a log to yourself.
morgalr
10
user's latest post:
when button clicked image is...
Published (2009-12-03 07:05:00)
Then you need to go back and read the tutorial on graphics, post some code--a short working model showing your problem. When you make a GUI and use a JPanel to show your image, you override the paintComponent to show the image, it will not affect your layout.
TvirusS
7
user's latest post:
Drawing line in the mouse...
Published (2009-11-24 09:35:00)
Actually im tring to make a funny game. Thats why i need the code. I know that i can use math in this but the problem is i have 2 points so i can have a straight line equation. Now i need to know 1 coordinat (x or y) at the terminal or i cant derive the second one. 4 sides in a frame 4 different known coordinate (like up side will always y=0, down x=MAX). So there are 4 cases. But how can i determine which edge it is. How can i fit these...
Lil_chidya
7
user's latest post:
graphics2d 4 drawings for four...
Published (2009-12-04 09:01:00)
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { &nbsp; JScrollPane listScroller = new JScrollPane(jPanel1); listScroller.setPreferredSize(jPanel1.getPreferredSize()); listScroller.setAlignmentX(LEFT_ALIGNMENT); comonent= new NoElement(); comonent.setSize( new Dimension(11,8)); comonent.setAlignmentX(LEFT_ALIGNMENT); comonent.setMinimumSize( new Dimension(20, 20)); comonent.setPreferredSize( new Dimension(20,20));...

Related threads on "Sun Forums":

Related threads on other sites:

Thread profile page for "merging four c,m,y,k single band tiff into one cmyk tiff" on http://www.sun.com. This report page is a snippet summary view from a single thread "merging four c,m,y,k single band tiff into one cmyk tiff", located on the Message Board at http://www.sun.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity